-   Linux - Networking (
-   -   Bind/DNS with multiple domains, one IP (

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

However, upon adding the second one, THAT one became the default, which I didn't want. So instead of my shell saying "" it says ""

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 08:01 AM.