Update DNS - Re: [CentOS] DNS maybe problems

Fri Dec 30 16:30:41 UTC 2005
Jerry57 (GMail) <jerry57 at gmail.com>

Hello Robert,

  What is listed in /etc/resolv.conf?  You should have something like:
    search my.domain
    nameserver 10.0.0.1

  where my.domain is the domainname for your network and 10.0.0.1 is
  the IP of the DNS server you are setting up.

  jer

Friday, December 30, 2005, 9:12:52 AM, you wrote:

> At 02:46 PM 12/29/2005, Benjamin Smith wrote:
>>Restart named. ("#/etc/rc.d/init.d/named restart;") Then, test as follows,
>>when logged into DNS system:
>>
>>nslookup - localhost
>> > mydomain.com.

> I have been getting no where with this one.   Going through various 
> online BIND9 setup tutorials, I see a reference to nsswitch.conf.  In 
> this file I find the entry:

> hosts:      files dns

> I have yet to find any explaination of this file.  Is there something 
> I need to add?

> Also I found references to /etc/hostname and /etc/networks.  Neither 
> are on my system.  Are they needed?

> And this was pretty much a standard CentOS 4.2 install, but I went 
> back using that 'broken' add/remove gui to add BIND that I forgot 
> (before I knew about yum install bind)

>>Notice the dot at the end of the domain. It'll either work or tell 
>>you that it
>>didn't. If it works, your DNS server is set up. If not, your DNS server isn't
>>as properly configured as you think.
>>
>>-Ben
>>
>>On Thursday 29 December 2005 07:28, Robert Moskowitz wrote:
>> > I am setting up a new DNS server.  It will be primary for my domain.
>> >
>> > This server is in an active subnet with a real public address.
>> >
>> > It is not setup yet properly in .com, but that is in the works.
>> >
>> > In the var/named/chroot/etc
>> >
>> > I added:
>> >
>> > named.custom   (which I 'included' in named.conf)
>> >
>> > and my various zone files.
>> >
>> > All the log entries look good.
>> >
>> > Oh in /etc/resolv.conf, I added my system as one of the namewervers.
>> >
>> > When I go into nslookup and type any host name I get the error:
>> >
>> > ** server can't find foo:NXDOMAIN
>> >
>> > where foo is whatever I typed in.
>> >
>> > so what else did I forget to change?
>> >
>> >
>> > _______________________________________________
>> > CentOS mailing list
>> > CentOS at centos.org
>> > http://lists.centos.org/mailman/listinfo/centos
>> >
>>
>>--
>>"The best way to predict the future is to invent it."
>>- XEROX PARC slogan, circa 1978
>>_______________________________________________
>>CentOS mailing list
>>CentOS at centos.org
>>http://lists.centos.org/mailman/listinfo/centos


> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
USE THE BEST . . .

Linux for servers . . .

        Macintosh for graphics . . .

              Palm for mobility . . .

                    Windows for solitaire!