LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Bind/DNS with multiple domains, one IP (https://www.linuxquestions.org/questions/linux-networking-3/bind-dns-with-multiple-domains-one-ip-126948/)

dmarkow 12-18-2003 11:13 AM

Bind/DNS with multiple domains, one IP
 
I have 2 registered domain names, which both point to my name server.
Originally, when i just had 1 domain name, it was the default one for my box, say domain-a.com

However, upon adding the second one, THAT one became the default, which I didn't want. So instead of my shell saying "user@domain-a.com" it says "user@domain-b.com."

Is there any settings anywhere in the conf file to change this?

chort 12-18-2003 12:07 PM

Well if /etc/host.conf is set to
file, bind

Then it should be using what's in /etc/hosts. You can setup your primary domain in /etc/hosts and the information from named won't be queried.


All times are GMT -5. The time now is 01:21 PM.