[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] nameservers
- Subject: Re: [cobalt-users] nameservers
- From: "Martin" <mbruinsm@xxxxxxxxxx>
- Date: Thu Jan 16 06:32:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> >
> > I used to run two nameservers (ns1.domain.com and ns2.domain.com) on two
> > different IPs on one RAQ4. Recently I installed another RAQ4, and
transfered
> > ns2.domain.com to the new RAQ4 configuring it as a slave to
ns1.domain.com,
> > so now both nameservers run on different machines. Also, I successfully
> > updated DNS info for ns2.domain.com.
> > When I ping ns2.domain.com from my computer, it correctly returns the
new
> > RAQ4's IP. It seems like the outside world knows about the new IP for
> > ns2.domain.com, as multiple sources show the right (new) IP for
> > ns2.domain.com. However, when I ssh into the old RAQ4 and ping
> > ns2.domain.com, it still shows the old IP for ns2.domain.com. Not that
this
> > is bothering me, but why is it still showing the old IP?
>
> Your old RaQ4 may have the ip in /etc/hosts.
> Or the nameservers in /etc/resolv may be the wrong one/s.
>
Thanks Gerald, now that I'm looking in to it, it HAS started to bother me!
:)
There was a line in the hosts file indeed. However, when I remove the line,
and ping ns2.domain.com, it says it can't find the host?
Also, I noticed that in the resolv.conf file there is a line SEARCH
DOMAIN.COM and another line NAMESERVER xxx.xxx.xxx.xxx. However, DOMAIN.COM
actually is xxx.xxx.xxx.xxx. Would it be safe to remove that last line? I
mean, if it searches DOMAIN.COM and can't find an answer, it is no use
searching xxx.xxx.xxx.xxx either is it? Would it be better to add my
colocation host's nameserver there?
Do SEARCH and NAMESERVER mean the same (local/remote DNS lookups)? I read
some stuff about it, but I'm not sure I understand.
Thanks,
Martin