1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Secondary DNS domain
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: Secondary DNS domain
#31908
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
Stijn Van De Voorde
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#32248
Re: Secondary DNS domain 1 Year, 8 Months ago  
anyone?
Stijn Van De Voorde
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#32250
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...
Tony Ellis
Platinum Boarder
Posts: 1048
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#32252
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
Stijn Van De Voorde
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#32253
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...
Tony Ellis
Platinum Boarder
Posts: 1048
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#32469
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.
Bob Stangarone
Gold Boarder
Posts: 183
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
[ Linux User | CC Fan since 2.1 | packet captures and log entires are amazing debugging tools ]
[ www.whataboutbob.org | How To Ask Questions The Smart Way ]
 
#33097
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
Stijn Van De Voorde
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
  get the latest posts directly to your desktop