If you are using BIND (Named) you should have something like this: -------------------------------------------------- view internal { match-clients { lan_hosts; }; # match hosts in acl "lan_hosts" recursion yes; # allow local recursive queries notify no; # disable AA notifies
// prime the server with knowledge of the root servers zone "." { type hint; file "/etc/db.cache"; }; --------------------------------------------------- And the db.cache file stores the root servers list: --------------------------------------------------- ; This file holds the information on root name servers needed to ; initialize cache of Internet domain name servers ; (e.g. reference this file in the "cache . <file>" ; configuration file of BIND domain name servers). ; ; This file is made available by InterNIC ; under anonymous FTP as ; file /domain/named.root ; on server FTP.INTERNIC.NET ; -OR- RS.INTERNIC.NET ; ; last update: Dec 12, 2008 ; related version of root zone: 2008121200 ; ; formerly NS.INTERNIC.NET ; . 3600000 IN NS A.ROOT-SERVERS.NET. A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4 A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:BA3E::2:30 ; ; FORMERLY NS1.ISI.EDU ; . 3600000 NS B.ROOT-SERVERS.NET. B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201 ; ; FORMERLY C.PSI.NET ... etc ...etc --------------------------------------- Peter Peter Bowey Computer Solutions ----- Original Message ----- From: "Michelle Dupuis" <mdup...@ocg.ca> To: "ASSP development mailing list" <assp-test@lists.sourceforge.net> Sent: Saturday, April 16, 2011 9:42 AM Subject: Re: [Assp-test] FW: Name server errors - bug? > Yes I run my own DNS servers too. I left something in the DNSServers > field so I will erase those. > > Although I'm not a perl programmer I ran this snippet (and got "Query > Failed: No Nameservers): > > use Net::DNS; > my $res = Net::DNS::Resolver->new; > my $query = $res->query("example.com", "NS"); > > > if ($query) { > foreach $rr (grep { $_->type eq 'NS' } $query->answer) { > print $rr->nsdname, "\n"; > } > } > else { > warn "query failed: ", $res->errorstring, "\n"; > } > > > Does this mean its a pearl Net::DNS issue? ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test