Problem with DNS on mandriva 2007
Barry Margolin
barmar at alum.mit.edu
Fri Jan 26 05:31:50 UTC 2007
In article <epap23$1cij$1 at sf1.isc.org>,
"Carlos Alberto Bernat Orozco" <cabo81 at gmail.com> wrote:
> Hi group
> I'm totally new to this forum so I apologize for any dummie question.
>
> Here goes my question. I find myself in a trouble due to a DNS configuration
> that I'm trying to do on mandriva 2007. By default it is configured on
> (var/lib/named). I put my zones and configured the named.conf and service
> OK, zones ok (with rndc status)
>
> But when I configured a normal pc with the DNS server IP of mandriva 2007,
> it can't resolv the web sites. My question is, is there any way to debug
> bind to see if is working properly?
>
> I did some research and I did the following query to my DNS server
>
> [root at ethereal named]# dig @serverIP mydomain.com.co
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63477
> ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;\142\@serverIP. IN A
I don't know where the \142 came from here. But as a result, it thought
you were trying to look up the name "\142 at serverIP", not
"mydomain.com.co". I'm not sure why it reported "NOERROR", it should
have reported "NXDOMAIN".
>
> ;; AUTHORITY SECTION:
> . 3600000 IN NS J.ROOT-SERVERS.NET.
> . 3600000 IN NS K.ROOT-SERVERS.NET.
> . 3600000 IN NS L.ROOT-SERVERS.NET.
> . 3600000 IN NS M.ROOT-SERVERS.NET.
> . 3600000 IN NS A.ROOT-SERVERS.NET.
> . 3600000 IN NS B.ROOT-SERVERS.NET.
> . 3600000 IN NS C.ROOT-SERVERS.NET.
> . 3600000 IN NS D.ROOT-SERVERS.NET.
> . 3600000 IN NS E.ROOT-SERVERS.NET.
> . 3600000 IN NS F.ROOT-SERVERS.NET.
> . 3600000 IN NS G.ROOT-SERVERS.NET.
> . 3600000 IN NS H.ROOT-SERVERS.NET.
> . 3600000 IN NS I.ROOT-SERVERS.NET.
>
> ;; Query time: 0 msec
> ;; SERVER: serverIP#53(serverIP)
> ;; WHEN: Thu Jan 25 11:50:22 2007
> ;; MSG SIZE rcvd: 244
>
>
> ; <<>> DiG 9.3.2 <<>> @serverIP mydomain.com.co
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31303
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;mydomain.com.co. IN A
>
> ;; AUTHORITY SECTION:
> mydomain.com.co. 172800 IN SOA mydomain.com.co.
> root.mydomain.com.co. 20060804 10800 7200 1296000 172800
This is a normal result if you don't have an A record for the name
"mydomain.com.co". If you've defined subdomains like
"www.mydomain.com.co", are you able to resolve them?
>
> ;; Query time: 0 msec
> ;; SERVER: serverIP#53(serverIP)
> ;; WHEN: Thu Jan 25 11:50:22 2007
> ;; MSG SIZE rcvd: 74
>
>
> Is this a good query? Is my server resolving names? What could be some steps
> to probe if the DNS server works fine?
>
> Thanks for any help in advanced
>
> Carlos Bernat
--
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
More information about the bind-users
mailing list