Jack <[EMAIL PROTECTED]>
Ray Olszewski <[EMAIL PROTECTED]>,
Kenneth Stephen <[EMAIL PROTECTED]>
Linux Newbie <[EMAIL PROTECTED]>
Subject: Re: DNS errors
Hi all,
Thanks for your replies, Jack, Ray, and Kenneth.
>This sounds like the win95 box isn't finding your dns server, make sure
>under DUN that is has the primary DNS as 172.16.1.1,
This was the point. My server was not listening to 172.16.1.1
>> Jul 24 16:46:55 narada named[634]: listening on [127.0.0.1].53 (lo)
>Can you say dialup from the win95 and resolve all other DNS entries (like
>does www.slashdot.org work in IE/Netscape or does it kick back and
>error?)
>accept for your linux box?
My linux box is not connected to the Net but a solo standing machine.
>> Jul 24 17:46:34 narada named[635]: sysquery: findns error
>>(NXDOMAIN) on narada.col7.metta.lk.1.16.172.in-addr.arpa?
>This _could_ be a typo in one of your named database (DB) files.
>Typically it appears that you forgot an ending . (period) in your
>db.172.16.1 (maybe name differant) or your db.narada (this could also
>have a differant name).
This is where the error was and which caused 172.16.1.1 not to come up.
now I get these 2 lines in the messages when doing "ndc stop/start"
Jul 25 10:07:48 narada named[3018]: listening on [127.0.0.1].53 (lo)
Jul 25 10:07:48 narada named[3018]: listening on [172.16.1.1].53 (ppp0)
where as earlier I only got.
>> Jul 24 16:46:55 narada named[634]: listening on [127.0.0.1].53 (lo)
Kenneth Stephen
2. Do 'nslookup -'. Now, at the new prompt type 'server <server name>'
where <server name> is the hostname of the DNS name server. Now do 'ls -d
metta.lk > <filename>' where filename is a file you are outputting the
command output to. If the file is not too big, could you post it on the
list please? Otherwise, mail it to me.
This was also interesting I could never get this command to work
>ls -d
but it works now and here are the details
I have a small question more about the SOA record.
Which of the below lines are correct ?
In 1. I have used domain name and in 2. I have used hostname.
domain-name account.domain-name
@ IN SOA col7.metta.lk. metta.col7.metta.lk. (
host-name account.domain-name
@ IN SOA narada.col7.metta.lk. metta.col7.metta.lk. (
The below result indicates that example 2 hostname is the correct way.
Please give you advices.
Regards,
Jacob
[root@narada pz]# nslookup
Default Server: localhost
Address: 127.0.0.1
> ls -d col7.metta.lk
[localhost]
$ORIGIN col7.metta.lk.
@ 1D IN SOA @ metta (
1999072501 ; serial
8H ; refresh
2H ; retry
1W ; expiry
1D ) ; minimum
1D IN NS narada
1D IN MX 10 narada
1D IN MX 10 @
1D IN A 172.16.1.1
localhost 1D IN A 127.0.0.1
narada 1D IN HINFO "Pentium-I" "Linux RH6.0"
1D IN MX 10 @
1D IN A 172.16.1.1
@ 1D IN SOA @ metta (
1999072501 ; serial
8H ; refresh
2H ; retry
1W ; expiry
1D ) ; minimum
>