Hiding NS Records

Brad Knowles brad.knowles at skynet.be
Fri Mar 16 16:50:21 UTC 2001

At 11:37 AM -0500 3/16/01, Smith, William E. (Bill), Jr. wrote:

>  We are running a secondary name server(for testing purposes) whose NS record
>  we want to hide from the outside world.  It's behind a firewall so queries
>  against it won't get a response; however, we would just like to have the NS
>  record for that server removed altogether.  Is it possible to do this? If
>  so, what is the syntax. I've done some searching and haven't come across
>  anything...obvious at least to address this.

	Sure, just don't list that machine.  It will know that it is 
primary for that domain (or set of domains) through the 
/etc/named.conf file, and doesn't need to show up in the SOA record 
or as one of the advertised NS RRs at all.

	No problem.

Brad Knowles, <brad.knowles at skynet.be>

/*     efdtt.c     Author:  Charles M. Hannum <root at ihack.net>             */
/*                                                                         */
/*     Thanks to Phil Carmody <fatphil at asdf.org> for additional tweaks.    */
/*                                                                         */
/*     Length:  434 bytes (excluding unnecessary newlines)                 */
/*                                                                         */
/*     Usage is:  cat title-key scrambled.vob | efdtt >clear.vob           */
/*     where title-key = "153 2 8 105 225" or other similar 5-byte key     */

#define m(i)(x[i]^s[i+84])<<
unsigned char x[5],y,s[2048];main(n){for(read(0,x,5);read(0,s,n=2048);write(1,s
,n))if(s[y=s[13]%8+20]/16%4==1){int i=m(1)17^256+m(0)8,k=m(2)0,j=m(4)17^m(3)9^k

More information about the bind-users mailing list