Re: strange DNS problem

2006-10-09 Thread pckizer

On 2006, Oct 6, at 04:02, Wojciech Puchar wrote:

one of my users reporting problem sending e-mail to @mil.be
sendmail reports host name lookup failure
host reports

[EMAIL PROTECTED] ~]$ host -t mx mil.be
mil.be mail is handled by 10 hermes01.mil.be.

[EMAIL PROTECTED] ~]$ host -t a hermes01.mil.be
hermes01.mil.be has address 194.7.21.40
hermes01.mil.be has address 193.191.219.40
Host hermes01.mil.be not found: 2(SERVFAIL)
^

where's a problem? while hostr is able to get IP addresses but then  
reports servfail?


What you are seeing is the IPv6  lookup:

# host -t  hermes01.mil.be
Host hermes01.mil.be not found: 2(SERVFAIL)

Make sure you have the Sendmail option turned on to ignore the  
SERVFAIL messages:


# grep  /etc/mail/freebsd.mc
define(`confBIND_OPTS', `WorkAroundBroken')

# grep  /etc/mail/sendmail.cf
O ResolverOptions=WorkAroundBroken

With that, mail should flow fine.


Though I have to admit I am having a similar problem except the host  
is randomly (with a very high probability of it doing so) failing to  
respond at all rather than at least answering SERVFAIL.  With no  
SERVFAIL it appears Sendmail/resolver consider the NS host to be down  
and do not fail through to try and lookup the A record.  [I'm still  
trying to verify that.]



-philip

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


strange DNS problem

2006-10-06 Thread Wojciech Puchar

one of my users reporting problem sending e-mail to @mil.be

sendmail reports host name lookup failure

host reports

[EMAIL PROTECTED] ~]$ host -t mx mil.be
mil.be mail is handled by 10 hermes01.mil.be.


[EMAIL PROTECTED] ~]$ host -t a hermes01.mil.be
hermes01.mil.be has address 194.7.21.40
hermes01.mil.be has address 193.191.219.40
Host hermes01.mil.be not found: 2(SERVFAIL)
^

where's a problem? while hostr is able to get IP addresses but then 
reports servfail?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange DNS problem

2006-10-06 Thread Bill Moran
Wojciech Puchar [EMAIL PROTECTED] wrote:

 one of my users reporting problem sending e-mail to @mil.be
 
 sendmail reports host name lookup failure
 
 host reports
 
 [EMAIL PROTECTED] ~]$ host -t mx mil.be
 mil.be mail is handled by 10 hermes01.mil.be.
 
 
 [EMAIL PROTECTED] ~]$ host -t a hermes01.mil.be
 hermes01.mil.be has address 194.7.21.40
 hermes01.mil.be has address 193.191.219.40
 Host hermes01.mil.be not found: 2(SERVFAIL)
 ^
 
 where's a problem? while hostr is able to get IP addresses but then 
 reports servfail?

I don't see that error when I try the same lookups.
host -t a hermes01.mil.be
hermes01.mil.be has address 194.7.21.40
hermes01.mil.be has address 193.191.219.40

I suspect the problem is in your resolver config and/or caches.

-- 
Bill Moran

Be calm.

Morpheus

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange DNS problem

2006-10-06 Thread Wojciech Puchar


where's a problem? while hostr is able to get IP addresses but then
reports servfail?


I don't see that error when I try the same lookups.
host -t a hermes01.mil.be
hermes01.mil.be has address 194.7.21.40
hermes01.mil.be has address 193.191.219.40

I suspect the problem is in your resolver config and/or caches.


possibly. but where to look? no other site behaves like this.

my named.conf:

acl seconds { 153.19.176.2; 10.254.1.254; 83.16.196.26;};
acl locals {10/8; 127.0.0.1/32;};

options {
directory /etc/namedb;
allow-transfer {seconds;};
pid-file/var/run/named/pid;
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;
listen-on   { 127.0.0.1; 10.254.1.248; 83.18.148.142; };
listen-on-v6{ any; };
};
#logging {category lame-servers { null; };};

zone . in {type hint; file root.cache;};
zone 0.0.127.in-addr.arpa in { type master; file 127;};

and then master and slaves domains definitions below.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange DNS problem

2006-10-06 Thread Bill Moran
Wojciech Puchar [EMAIL PROTECTED] wrote:

 
  where's a problem? while hostr is able to get IP addresses but then
  reports servfail?
 
  I don't see that error when I try the same lookups.
  host -t a hermes01.mil.be
  hermes01.mil.be has address 194.7.21.40
  hermes01.mil.be has address 193.191.219.40
 
  I suspect the problem is in your resolver config and/or caches.
 
 possibly. but where to look? no other site behaves like this.
 
 my named.conf:
 
 acl seconds { 153.19.176.2; 10.254.1.254; 83.16.196.26;};
 acl locals {10/8; 127.0.0.1/32;};
 
 options {
  directory /etc/namedb;
  allow-transfer {seconds;};
  pid-file/var/run/named/pid;
  dump-file   /var/dump/named_dump.db;
  statistics-file /var/stats/named.stats;
  listen-on   { 127.0.0.1; 10.254.1.248; 83.18.148.142; };
  listen-on-v6{ any; };
 };
 #logging {category lame-servers { null; };};
 
 zone . in {type hint; file root.cache;};
 zone 0.0.127.in-addr.arpa in { type master; file 127;};
 
 and then master and slaves domains definitions below.

Just a theory:  Do you possibly have recursive queries locked down too
far, and does resolution of that name require recursion?

-- 
Bill Moran

I lay down for a while, and I woke up on the ocean,
floating on my back, and staring at the grey.
It was completely still, 'cept for the pounding of my heart,
was bring me back to life, from three strange days.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange DNS problem

2006-10-06 Thread Wojciech Puchar

zone 0.0.127.in-addr.arpa in { type master; file 127;};

and then master and slaves domains definitions below.


Just a theory:  Do you possibly have recursive queries locked down too


where is it set?


far, and does resolution of that name require recursion?


it is possible almost sure.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]