local dns and internet dns

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Tue Jul 31 07:33:26 UTC 2001


> On 30 Jul 2001 18:48:33 -0700, Mark.Andrews at nominum.com wrote:
> 
> I am responding with the changes that I made due to your observations.
> Thanks for pointing out my mistakes.
> 
> >
> >	Please don't "nospam" your email address.  The newsgroup is
> >	gatewayed to a mailing list and adding "nospam" doesn't work.
> Sorry, thanks for the tip!
> >
> >> Newbie here, as you will soon see by my question.  I have Tru64 UNIX
> >> running named 8.2.2-P5.
> >	
> >	You need to upgrade.
> >	http://www.isc.org/products/BIND/bind-security.html
> Will do...
> 
> I snipped the superfluous info.
> 
> >> zone  "255.255.255.255" {
> >>         type  slave;
> >>         file  "named.local";
> >>         masters  { 200.75.210.35;
> >>         };
> Here I added the dns of my isp.(this isn't the real one, just an
> example)  How do I specify more?

	masters  { 200.75.210.35; 1.2.3.4; ... };

> 
> >	While not strictly required for BIND 8.2.x I would have been specifing
> >	a default TTL.
> >	e.g.
> >	$TTL 3600
> >	@ 	IN SOA ...
> Ok.  Could you explain why this is a good idea, or point me to a link
> that could?

	See RFC2308.

> >
> >> @       IN      SOA     robertj.hammerdog.org.
> >> postmaster.robertj.hammerdog.org. (
> >>                         1       ; Serial
> >>                         3600    ; Refresh
> >>                         300     ; Retry
> >>                         3600000 ; Expire
> >>                         3600 )  ; Minimum
> 	IN      NS      robertj.hammerdog.org.
> 
> Ok, I changed it to this.  I strongly suspect that this was the change
> that turned it around for me.  My internal names are now resolving.  I
> am not sure of what the fields represent, I am getting a book.  I was
> think of DNS and BIND by O'reilly.  Is that a good idea, or do you
> have another suggestion/preference?

	DNS and BIND, 4th edition should be fine.

> >
> >	You need white space before the IN or else it will be interperted
> >	as a name not a class.
> >
> >> 1       IN      PTR     localhost.
> >> localhost.      IN      A       127.0.0.1
> >
> >	You havn't shown "hosts.db". 
> >
> /etc/namedb> cat hosts.db
> ;
> ; Data file of hostnames in this zone.
> ;
> @       IN      SOA     robertj.hammerdog.org.
> postmaster.robertj.hammerdog.org. (
>                         1       ; Serial
>                         300     ; Refresh - 5 minutes
>                         60      ; Retry - 1 minute
>                         1209600 ; Expire - 2 weeks
>                         43200 ) ; Minimum - 12 hours
>         IN      NS      robertj.hammerdog.org.
> 
> ;Snipped out the comments
> 
> ; %HOSTS_START% - entries added by /etc/namedb/bin/make_hosts
> localhost               IN      A               127.0.0.1
> "hosts-0"               IN      CNAME           localhost
> robertj                 IN      A               192.168.1.17
> "hosts-1"               IN      CNAME           robertj
> rob                     IN      CNAME           robertj
> beast                   IN      A               192.168.1.33
> "hosts-2"               IN      CNAME           beast
> joanne                  IN      A               192.168.1.2
> "hosts-3"               IN      CNAME           joanne
> jo                      IN      CNAME           joanne
> isaac                   IN      A               192.168.1.1
> "hosts-4"               IN      CNAME           isaac
> isy                     IN      CNAME           isaac
> babs                    IN      A               192.168.1.15
> "hosts-5"               IN      CNAME           babs
> nameserver              IN      A               206.75.216.215
> "hosts-6"               IN      CNAME           nameserver
> bruce                   IN      A               192.168.1.22
> "hosts-7"               IN      CNAME           bruce
> ; %HOSTS_END%
> 
> I added this just because you requested it.

	The only reason I mentioned it was that there could have
	been similar error in it and as you hadn't supplied it I
	could not check it.

> You were correct, there
> is a program that converted my hosts file to this one.  I have made
> all of the changes that you suggested and now my internal names are
> resolving.  Thank-you very much for helping me out!
> 
> fybar
> fybar at nospam.powersurfr.com
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list