dns n ot able to resolv
distro - Red Hat Enterprise Linux AS release 4 (Nahant)
trying to configure named. named is running but # dig is showing 0 answers. all the configuration details r as follows.edited the following files..... /etc/named.conf /var/named/server.sarayu3.com.zone /var/named/1.168.192.in-addr.arpa.zpne ---------------------------------------------- # hostname server.sarayu3.com ----------------------- # cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 server.sarayu3.com server localhost.localdomain localhost 192.168.1.3 server.sarayu3.com server.sarayu3.com ----------------------------- # cat /etc/resolv.conf #search sarayu3.com nameserver 192.168.1.3 nameserver 61.1.96.69 nameserver 61.1.96.71 ------------------------------------------ # cat /etc/named.conf | more options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; }; // a caching only nameserver config controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; zone "." IN { type hint; file "named.ca"; }; zone "localdomain" IN { type master; file "localdomain.zone"; allow-update { none; }; }; 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 "server.sarayu3.com" IN { type master; file "server.sarayu3.com.zone"; allow-update { none; }; }; zone "1.168.192.in-addr.arpa" IN { type master; file "1.168.192.in-addr.arpa.zone"; allow-update { none; }; }; ########################## zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { type master; file "named.ip6.local"; allow-update { none; }; }; zone "255.in-addr.arpa" IN { type master; file "named.broadcast"; allow-update { none; }; }; zone "0.in-addr.arpa" IN { type master; file "named.zero"; allow-update { none; }; }; include "/etc/rndc.key"; -------------------------------------------------------------- # cat /var/named/server.sarayu3.com.zone $ORIGIN server.sarayu3.com. $TTL 86400 @ IN SOA server.sarayu3.com. root.server.sarayu3.com. ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum IN NS 192.168.1.3 server.sarayu3.com IN A 192.168.1.3 www IN CNAME server.sarayu3.com. ----------------------------------------------------- # cat /var/named/1.168.192.in-addr.arpa.zone $ORIGIN 1.168.192.in-addr.arpa. $TTL 86400 @ IN SOA server.sarayu3.com. root.server.sarayu3.com. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS server.sarayu3.com. 3 IN PTR server.sarayu3.com. ---------------------------------------------------------------------- # dig server.sarayu3.com ; <<>> DiG 9.2.4 <<>> server.sarayu3.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 34853 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;server.sarayu3.com. IN A ;; Query time: 0 msec ;; SERVER: 192.168.1.3#53(192.168.1.3) ;; WHEN: Thu Jul 28 12:23:11 2005 ;; MSG SIZE rcvd: 36 --------------------------------------------------------- |
I don't know if this will help, since I use primarily SuSE.
In my /etc/resolv.conf, I have one additional line: domain localdomain. |
All times are GMT -5. The time now is 12:44 AM. |