Need help with named
zmlm
myzmlm at hotmail.com
Thu Sep 30 12:34:35 UTC 2004
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
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