Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Split DNS Question

Split DNS Question

2003-10-09       - By Keith Mastin

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hi Jake,

<quote who="Marco Calistri">
>
> On 09-Oct-2003 (See http://Oct-2003.ora-code.com) Jake McHenry wrote:
>> I already have that, it has nothing to do with the nameservers, it's
>> what I said, the search and domain lines. I have a zone
>> nittanytravel.com and a zone int.nittanytravel.com for private. If I
>> have domain and search set to nittanytravel.com in resolv.conf, I
>> can't ping anything in int.nittanytravel.com, likewise with the reverse.

There are a couyple files to check. There's nsswitch for the localhost
search order, hosts to list all the machines on the localnet, host.conf
does the same more basic functions that nsswitch does, resolv.conf lists
nameservers to find other hosts, and if you run dns set up then all the
bind9 or dbjdns configs to mess with.

If you don't have dns set up for the localnet, then you need to have all
hosts listed in hosts.

>>> On 09-Oct-2003 (See http://Oct-2003.ora-code.com) Jake McHenry wrote:
>>> > I have everything set up and working, but how can I set my
>>> > resolv.conf so it searchs in both my private and public zones?
>>> >
>>> > If I have resolv.conf set to search nittanytravel.com , domain
>>> > nittanytravel.com, none of my private hosts can be found.
>>> > If I have resolv.conf set to search int.nittanytravel.com, domain
>>> > int.nittanytravel.com, none of my outside hosts can be found
>>> >
>>> > This is only from the local machine, but I'd like to be able to ping
>>> > hosts in both zones without having to change resolv.conf.
>>>
>>> Jake,inside /etc/resolv.conf you can put up to 3 nameservers,so you can
>>> add one local and 2 remote...i.e:
>>>
>>> nameserver 127.0.0.1
>>> nameserver nittanytravel.com [better if you put the correspondent
>>> numeric IP]
>>> nameserver 212.116.15.121
>>>
>>> See U,Marco
>
> Jake,I think older listers would suggest us to avoid top replies, this
> helps the mail-archives,at least as I understood ;-)

yes, and please trim if you can spare the minute.... :)

> Ok,I'm sorry if I've not been of any help for you,by the way you could
> give a try to omit the search and domain strings inside resolv.conf that
> are automatically extracted from the machine /etc/sysconfig/network file.
>
> Then try to read again docs and man for your DNS (BIND,tinydns,or what it
> is) or even try to post a more detailed configuration settings of your
> machine on the list so that more skilled people can give you the right
> clue.  It could be you should set up a master and a slave zone (?)

--
Keith Mastin
BeechTree Information Technology Services Inc.
Toronto, Canada
(416)429 9304