rofl i forgot one command..to start hte service rofl! ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14053 ;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUESTION SECTION: ;. IN NS
;; ANSWER SECTION: . 518400 IN NS M.ROOT-SERVERS.NET. . 518400 IN NS A.ROOT-SERVERS.NET. . 518400 IN NS B.ROOT-SERVERS.NET. . 518400 IN NS C.ROOT-SERVERS.NET. . 518400 IN NS D.ROOT-SERVERS.NET. . 518400 IN NS E.ROOT-SERVERS.NET. . 518400 IN NS F.ROOT-SERVERS.NET. . 518400 IN NS G.ROOT-SERVERS.NET. . 518400 IN NS H.ROOT-SERVERS.NET. . 518400 IN NS I.ROOT-SERVERS.NET. . 518400 IN NS J.ROOT-SERVERS.NET. . 518400 IN NS K.ROOT-SERVERS.NET. . 518400 IN NS L.ROOT-SERVERS.NET.
;; ADDITIONAL SECTION: A.ROOT-SERVERS.NET. 604800 IN A 198.41.0.4 B.ROOT-SERVERS.NET. 604800 IN A 192.228.79.201 C.ROOT-SERVERS.NET. 604800 IN A 192.33.4.12 D.ROOT-SERVERS.NET. 604800 IN A 128.8.10.90 E.ROOT-SERVERS.NET. 604800 IN A 192.203.230.10 F.ROOT-SERVERS.NET. 604800 IN A 192.5.5.241 G.ROOT-SERVERS.NET. 604800 IN A 192.112.36.4 H.ROOT-SERVERS.NET. 604800 IN A 128.63.2.53 I.ROOT-SERVERS.NET. 604800 IN A 192.36.148.17 J.ROOT-SERVERS.NET. 604800 IN A 192.58.128.30 K.ROOT-SERVERS.NET. 604800 IN A 193.0.14.129 L.ROOT-SERVERS.NET. 604800 IN A 198.32.64.12 M.ROOT-SERVERS.NET. 604800 IN A 202.12.27.33
;; Query time: 104 msec ;; SERVER: 127.0.0.1#53(localhost) ;; WHEN: Wed Aug 10 11:37:52 2005 ;; MSG SIZE rcvd: 436
Les Mikesell wrote:
On Wed, 2005-08-10 at 07:25, William Warren wrote:
dig to localhost says: [root@enoch ~]# dig localhost
dig localhost tells the system to ask the server(s) mentioned in /etc/resolve.conf to resolve the name localhost.
What you want is: dig @localhost which queries the nameserver on the local machine to show you some info from the root servers as a useful diagnostic to make sure it can reach them. If you are firewalled in a way that udp on port 53 can't get back from the internet and you aren't configured to use a forwarder that can get answers, you won't see the root servers displayed. You can also query for specific addresses: dig @localhost www.sun.com