Problem with Recursive Queries

Kevin Darcy kcd at daimlerchrysler.com
Wed Mar 8 03:25:24 UTC 2006


KS Tan wrote:

>I have set up some control to restrict recursive queries to my DNS
>server and found that somehow it affected the delivery and sending of
>emails.
>
>Following are entries that I put in the named.conf file to restrict
>recursive queries.
>
>view "internal" {
>match-clients { 192.168.100.0/24; };
>recursion yes;
>};
>view "external" {
>match-clients { any; };
>recursion no;
>
>The error message i got from sending mail is :
>
>bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=[203.223.137.123]
>Mar  7 18:29:08 abs-mail sendmail[1947]: [ID 801593 mail.notice]
>k27AEIak001947: ruleset=check_mail, arg1=<bgifwkul at bgi.com.my>,
>relay=[203.223.137.123], reject=451
> 4.1.8 Domain of sender address bgifwkul at bgi.com.my does not resolve
>
>Can anyone help to see why this is so.
>
Is the first nameserver entry in your /etc/resolv.conf in the 
192.168.100.0/24 range? If it's 127.0.0.1 or something else outside of 
the 192.168.100.0/24 range, you're probably matching the wrong view, 
since most OS'es will pick the same source address as the destination 
address, if it's local.

                                                                         
                                                - Kevin




More information about the bind-users mailing list