Re: Need help with named

This is a discussion on Re: Need help with named within the Bind Users forums, part of the DNS and Related Forums category; bind-users-bounce@isc.org wrote on 09/30/2004 08:34:35 AM: > This is the result of ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-30-2004
David Botham
 
Posts: n/a
Default Re: Need help with named

bind-users-bounce@isc.org wrote on 09/30/2004 08:34:35 AM:
> This is the result of dig. I cannot resolve the domain name. I did

reload named.
> [root@localhost etc]# dig test.linux
>
> ; <<>> DiG 9.2.1 <<>> test.linux
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 27753
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;test.linux. IN A
>
> ;; AUTHORITY SECTION:
> . 86400 IN SOA A.ROOT-SERVERS.NET.

NSTLD.VERISI
> GN-GRS.COM. 2004093000 1800 900 604800 86400
>
> ;; Query time: 515 msec
> ;; SERVER: 12.127.16.83#53(12.127.16.83)
> ;; WHEN: Thu Sep 30 08:28:29 2004
> ;; MSG SIZE rcvd: 103


Notice the IP address in the SERVER line above. Is that the name server
on which you have loaded the test.linx zone? If yes, perhaps you can send
the output of your logs when named starts. If no, then use the following
format of the dig command to make sure you are sending your query to the
right name server:

dig soa test.linux @<ip of name server>

Also, I added the soa part so that you get the soa RR for test.linux, as
the zone db file below does not show an A RR for test.linux (default query
type for dig is "A").


Dave...

>
> myzmlm@hotmail.com (zmlm) wrote in message

news:<cjeu4g$2oq4$1@sf1.isc.org>...
> > I'm running named on RH9. I want to set up a test zone:test.linux. But
> > I cann't make it working. Any idea? Thanks.
> >
> > /etc/named.conf
> > options {
> > directory "/var/named";
> > /*
> > * If there is a firewall between you and nameservers you want
> > * to talk to, you might need to uncomment the query-source
> > * directive below. Previous versions of BIND always asked
> > * questions using port 53, but BIND 8.1 uses an unprivileged
> > * port by default.
> > */
> > // query-source address * port 53;
> >
> > forwarders {
> > 12.127.16.83;
> > 12.127.17.83;
> > };
> > };
> > controls {
> > inet 127.0.0.1 allow { localhost; } keys { rndckey; };
> > };
> > zone "." IN {
> > type hint;
> > file "named.ca";
> > };
> >
> > zone "localhost" IN {
> > type master;
> > file "localhost.zone";
> > allow-update { none; };
> > };
> >
> > zone "0.0.127.in-addr.arpa" IN {
> > type master;
> > file "named.local";
> > allow-update { none; };
> > };
> >
> > zone "test.linux" IN {
> > type master;
> > notify no;
> > file "test.linux";
> > };
> >
> > include "/etc/rndc.key";
> >
> > /var/named/test.linux
> > $TTL 86400
> > @ IN SOA mail.test.linux. root.test.linux. (
> > 42 ; serial (d.
> > adams)
> > 3H ; refresh
> > 15M ; retry
> > 1W ; expiry
> > 1D ) ; minimum
> >
> > NS ns ; Name server
> > MX mail ; Mail server
> > localhost A 127.0.0.1
> > ns A 192.168.0.194
> > mail A 192.168.0.194

>




Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:58 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0