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

Notices


Reply
  Search this Thread
Old 12-18-2003, 11:13 AM   #1
dmarkow
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 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?
 
Old 12-18-2003, 12:07 PM   #2
chort
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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:22 AM.

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