Need help with named
David Botham
DBotham at OptimusSolutions.com
Thu Sep 30 21:24:11 UTC 2004
bind-users-bounce at 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 at 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 at hotmail.com (zmlm) wrote in message
news:<cjeu4g$2oq4$1 at 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
>
More information about the bind-users
mailing list