Michelle,

I ran your perl snippet on my Linux Server:
Result is:
-----------------------------------------
[root@server1 tmp]# perl test.pl
b.iana-servers.net
a.iana-servers.net
-----------------------------------------

Your 'test' result suggests that DNS is not setup correctly?

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?
> ________________________________________
> From: Peter W Bowey [supp...@pbcomp.com.au]
> Sent: Friday, April 15, 2011 8:11 PM
> To: ASSP development mailing list
> Subject: Re: [Assp-test] FW: Name server errors - bug?
>
> Michelle,
>
> I too use ASSP's "Use Local DNS (UseLocalDNS):
>
> Do you entries in ASSP's  DNSServers (DNS Name Servers* (DNSServers))?
> I do NOT (it is blank)!
>
> I am on Linux. I too run an MTA (Postfix) as a 'front end' -before- ASSP.
> I have everything from the 'outside' sent through a gateway / forewall.
> I run my own DNS Server, as I suspect you do..
>
> Pete
> 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:13 AM
> Subject: Re: [Assp-test] FW: Name server errors - bug?
>
>
>> Yes - strange characters appear in my log as the name server.  I have
>> "uselocaldns" checked so it is not getting these values from the
>> DNSServers value.
>>
>> The system's local DNS values are set correctly (and of course nslookup
>> works fine)...
>>
>> Could this by a Windows vs Linux thing?  Is ASSP using a function call
>> that isn't returning IP addresses in the format expected?
>> ________________________________________
>> From: Peter W Bowey [supp...@pbcomp.com.au]
>> Sent: Friday, April 15, 2011 7:41 PM
>> To: ASSP development mailing list
>> Subject: Re: [Assp-test] FW: Name server errors - bug?
>>
>> That is a strange DNS => "Name Server p�"
>> It should reflect your actual system DNS IP(s), so what is this weird
>> "p�"
>> ?
>>
>> When I get a DNS error related to ASSP it looks like this "warning: Name
>> Server 210.23.129.34: does not respond or timed out"
>> or if  DNS is not responding then you do see the "no answering DNS-SERVER
>> found "
>>
>> The ASSP "ERROR: !!!! no answering DNS-SERVER found !!!!" is what I see
>> when
>> there is no access to external DNS (root-servers).
>>
>> Peter
>> Peter Bowey  Computer Solutions
>> ----- Original Message -----
>> From: "Michelle Dupuis" <mdup...@ocg.ca>
>> To: <assp-test@lists.sourceforge.net>
>> Sent: Saturday, April 16, 2011 7:20 AM
>> Subject: [Assp-test] FW: Name server errors - bug?
>>
>>
>>>I just switched to ver 2 of ASSP...feeling a bit bleeding edge.  I'm
>>>running ASSP 2.0.1(2.0.19) on ActivePerl (win x64).
>>>
>>> Although my system's DNS entries are right, the assp log fills with 
>>> these
>>> errors.  Any idea how to fix?
>>>
>>>
>>>
>>> Apr-15-11 16:42:17 [Worker_10000] Warning: Name Server p�: does not
>>> respond or timed out
>>> Apr-15-11 16:42:17 [Worker_10000] ERROR: !!!! no answering DNS-SERVER
>>> found !!!!
>>> Apr-15-11 16:42:22 [Worker_10000] Warning: Name Server p�: does not
>>> respond or timed out
>>> Apr-15-11 16:42:22 [Worker_10000] ERROR: !!!! no answering DNS-SERVER
>>> found !!!!
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>> ------------------------------------------------------------------------------
>> 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
>>
>
>
> ------------------------------------------------------------------------------
> 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
> ------------------------------------------------------------------------------
> 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
> 


------------------------------------------------------------------------------
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

Reply via email to