On Tue, 23 Jun 1998, Slyglif Cain wrote: > Hello. I was looking through the docs on setting up named, but I can't seem > to find the info I am looking for. I am trying to setup named on my RH5.1 > box for caching lookups (which is easy, I just install that RPM), but I also > want it to contain information about my local network. Since the local net Here's an example of how I set up my own DNS for my local area network (192.168.0.x). In /etc/named.boot: ------------------------ primary pams pams.zone primary 0.168.192.in-addr.arpa named.local2 ------------------------- (where "pams" is my internal domain name, e.g. my machine is "exec.pams" -- best to substitute a totally bogus one like this). in /var/named/pams.zone: -------------------- IN SOA exec.pams. exec.shreve.net. ( 1989020504 ; serial 10800 ; refresh 3600 ; retry 3600000 ; expire 86400 ) ; minimum NS exec.pams. office A 192.168.0.1 exec A 192.168.0.2 ; ... (other A records deleted) ---------------------------------------- In /var/named/named.local2: -------------------------------------------- ; reverse lookup of local hosts, sigh. @ IN SOA localhost. root.localhost. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS localhost. 1 IN PTR office. 2 IN PTR exec. ; ... (other IN PTR records deleted) ----------------------------------------------------- Then do a "ndc restart" and voila. All of this is very well explained in the DNS HowTo, by the way. That's how I learned how to do it! Eric Lee Green [EMAIL PROTECTED] Executive Consultants Systems Specialist Educational Administration Solutions See http://members.tripod.com/~latrails -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
Re: caching named with local information
Eric L. Green <[EMAIL PROTECTED]> Wed, 24 Jun 1998 09:39:47 -0400
- caching named with local informati... Slyglif Cain
- Re: caching named with local ... Vidiot
- RE: caching named with lo... Slyglif Cain
- Re: caching named with local ... chuck . mead
- Re: caching named with local ... Michael Jinks
- RE: caching named with lo... Slyglif Cain
- RE: caching named with local ... Eric L. Green <[EMAIL PROTECTED]>
- RE: caching named with local ... Slyglif Cain