out of place mx records.

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Dec 3 11:51:41 UTC 2010


> In message <20101112143542.GA23685 at fantomas.sk>, Matus UHLAR - fantomas writes:
> > what about check-mx setting, can it be also affected by this setting?

On 13.11.10 10:56, Mark Andrews wrote:
> As I said it is a easy fix.  This just copies what the srv check does.

shall this be included in later versions of BIND or have I to apply this
patch with each upgrade?

> Index: lib/dns/zone.c
> ===================================================================
> RCS file: /proj/cvs/prod/bind9/lib/dns/zone.c,v
> retrieving revision 1.574
> diff -u -r1.574 zone.c
> --- lib/dns/zone.c	6 Sep 2010 04:41:13 -0000	1.574
> +++ lib/dns/zone.c	12 Nov 2010 22:08:51 -0000
> @@ -1751,6 +1752,12 @@
>  	int level;
>  
>  	/*
> +	 * "." means the services does not exist.
> +	 */
> +	if (dns_name_equal(name, dns_rootname))
> +		return (ISC_TRUE);
> +
> +	/*
>  	 * Outside of zone.
>  	 */
>  	if (!dns_name_issubdomain(name, &zone->origin)) {

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux IS user friendly, it's just selective who its friends are...



More information about the bind-users mailing list