On Fri, 2011-03-18 at 01:49 +0100, Benny Pedersen wrote:
> On Thu, 17 Mar 2011 21:30:16 +0100, Karsten Bräckelmann wrote:
> 
> > Don't do that. Run a local, caching, non-forwarding DNS server. And make
> > sure this server (most likely 127.0.0.1) is the first nameserver entry
> > in your /etc/resolv.conf.
> 
> when local dns server is working there must only be one single nameserver
> in resolv.conf and options rotate nust not be enabled

In the SA case, due to some issues with the underlying DNS Perl module,
IIRC the "first nameserver is all that ever will be used" note is the
appropriate disclaimer -- though I got to admit, details escape me.


> one nameserver:
> 
> nameserver 127.0.0.1
> options without rotate
> 
> two or more nameservers:
> 
> nameserver 10.0.0.1
> nameserver 10.0.0.2
> options rotate

-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to