Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-18-2003, 11:13 AM   #1
LQ Newbie
Registered: Mar 2003
Posts: 8

Rep: Reputation: 0
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?
Old 12-18-2003, 12:07 PM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to add domains/zones for bind? Moloko Linux - Networking 3 09-25-2005 09:11 AM
running BIND on broadband connection - Domains not working pete-theobald Linux - Networking 3 05-25-2005 12:44 PM
Bind not resolving .org domains ggandy Linux - Networking 0 11-23-2004 05:16 PM
BIND/DNS - Two Different Domains jhewitt Linux - Networking 1 02-20-2004 07:54 PM
Multiple Domains? cic Linux - Networking 2 01-23-2002 06:38 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration