|
Secondary DNS domain 1 Year, 8 Months ago
|
|
|
Hello,
Is it possible to add a secondary DNS domain without installing a full dns server like bind?
I need to translate 1 hostname not in the clearos domain.
Thanks in advanced.
Stijn
|
|
|
|
|
|
|
Re: Secondary DNS domain 1 Year, 8 Months ago
|
|
|
anyone?
|
|
|
|
|
|
|
Re: Secondary DNS domain 1 Year, 8 Months ago
|
|
|
I actually use bind and have never used dnsmasq. However, looking at the dnsmasq man page (man dnsmaq) it looks like the option --address=/<domain>/[domain/]<ipaddr> might provide what I understand you are looking for...
|
|
|
|
|
|
|
Re:Secondary DNS domain 1 Year, 8 Months ago
|
|
|
Thanks for the info about dnsmasq.
I understand from the man page that dnsmasq also looks at /etc/hosts
so maybe it is enough to add the domain and ip in that configuration file?
If I do so, is it possible when I use the ClearOS webinterface that the /etc/hosts gets modified and my entry gets deleted?
Kind Regards
|
|
|
|
|
|
|
Re:Secondary DNS domain 1 Year, 8 Months ago
|
|
|
Someone else will need to answer those questions as I have no idea what ClearOS does with dnsmasq...
|
|
|
|
|
|
|
Re:Secondary DNS domain 1 Year, 8 Months ago
|
|
|
If you point your DNS clients to the box running dnsmasq with the proper entries in /etc/hosts, you should be able to resolve any number of IP address/Domain Name combinations you enter into /etc/hosts from your DNS clients. I've done this many times using ClearOS/CentOS boxes with dnsmasq.
|
|
|
|
|
|
|
Re:Secondary DNS domain 1 Year, 7 Months ago
|
|
|
Bob Stangarone wrote:
If you point your DNS clients to the box running dnsmasq with the proper entries in /etc/hosts, you should be able to resolve any number of IP address/Domain Name combinations you enter into /etc/hosts from your DNS clients. I've done this many times using ClearOS/CentOS boxes with dnsmasq.
Thanks BOB
|
|
|
|
|
|
|