Everything _appears_ to be working from the local LAN, and when the
HOST record is changed at interNIC I assume it will work outside the LAN
as well, however I am interested in knowing if there is a "better way",
etc.
Thanks in advance for the help. I am pasting in the files here, because
I admittedly know very little about this and want to be
thorough. and I changed all of our actual domain name to say 'domain'
before I put this here, so no kidding me about that ;)
I admittedly don't have the book DNS and BIND yet, but the keyword here
is yet...I plan on purchasing it tomorrow as I keep reading that it is
pretty much the DNS bible.
Again, thanks and either get back to me here or in email
(rais...@rcn.com)
Greg
------/etc/named.boot------
;
; a caching only nameserver config
;
directory /var/named
cache . named.ca
primary 0.0.127.in-addr.arpa named.local
------/etc/named.conf------
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "hcvn.com" {
type master;
file "./db.domain";
};
zone "181.208.209.in-addr.arpa" {
type master;
file "./xxx.xxxx.xxx.rev"; (note: xxx.xxx.xxx is the
frist 3 parts of my macines IP)
};
zone "localhost" {
type master;
file "./db.127.0.0";
};
------/var/named/xxx.xxx.xxx.rev------
; "@(#)named.rev 4.4 Lachman System V STREAMS TCP source"
;
; Don't forget to increment the serial number in named.soa
;
;
@ IN SOA domain.com. ro...@domain.com.
(
99020705 ; Serial
10800 ; Refresh 3 hours
3600 ; Retry 1 hour
604800 ; Expire 1 week
86400 ; Minimum 1 day
)
;
;
IN NS ns.domain.com.
200 IN PTR www2.domain.com.
199 IN PTR www.domain.com.
200 IN MX mail.domain.com.
200 IN MX smtp.domain.com.
200 IN MX pop.domain.com.
------/var/named/db.127.0.0------
; @(#)named.local 4.2 LAI System V.3 STREAMS TCP/IP source
; Don't forget to increment the serial number in named.soa
;
;
@ IN SOA domain.com. ro...@domain.com.
(
99020703 ; Serial
10800 ; Refresh 3 hours
3600 ; Retry 1 hour
604800 ; Expire 1 week
86400 ; Minimum 1 day
)
;
IN NS ns.hcvn.com.
;
200 IN PTR localhost.
199 IN PTR www.
200 IN PTR smtp.
200 IN PTR mail.
200 IN PTR pop.
------/var/named/db.domain------
;
; Don't forget to increment the serial number in named.soa
;
@ IN SOA domain.com. ro...@domain.com.
(
99020703 ; Serial
10800 ; Refresh
3600 ; Retry
3600000 ; Expire
86400 ; Minimun
)
;
;Name Servers
;
IN NS ns.hcvn.com.
ns IN A xxx.xxx.xxx.200
www2 IN A xxx.xxx.xxx.200
www IN A xxx.xxx.xxx.199
mail IN A xxx.xxx.xxx.200
smtp IN A xxx.xxx.xxx.200
pop IN A xxx.xxx.xxx.200
The only PTR record in this file should be:
1 IN PTR localhost.
This is the reverse entry for 127.0.0.1.
>------/var/named/db.domain------
>;
>; Don't forget to increment the serial number in named.soa
>;
>@ IN SOA domain.com. ro...@domain.com.
>(
> 99020703 ; Serial
> 10800 ; Refresh
> 3600 ; Retry
> 3600000 ; Expire
> 86400 ; Minimun
> )
>;
>;Name Servers
>;
> IN NS ns.hcvn.com.
>
>ns IN A xxx.xxx.xxx.200
>www2 IN A xxx.xxx.xxx.200
>www IN A xxx.xxx.xxx.199
>mail IN A xxx.xxx.xxx.200
>smtp IN A xxx.xxx.xxx.200
>pop IN A xxx.xxx.xxx.200
Although it's not strictly required, it's a good idea to add:
localhost IN A 127.0.0.1
Other than those extraneous entries in the db.127.0.0, everything seems
fine to me.
--
Barry Margolin, bar...@bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Don't bother cc'ing followups to me.