Here is the Named.conf File
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
forwarders {
207.170.3.6;
207.170.7.6;
{;
// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." {
type hint;
file "named.ca";
};
zone "named.root"{
type hint;
file "";
};
zone "powersentry.com" {
type master;
file "xxx_com.db";
allow-transfer { 207.67.33.79; };
};
zone "x.x.209.IN-ADDR.ARPA" {
type master;
file "80_83_209.rev";
allow-transfer { 207.67.33.79; };
};
zone "1.1.155.IN-ADDR.ARPA" {
type master;
file "1_1_155.rev";
allow transfer {207.67.33.79; };
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
Here is the x.db file.
@ IN SOA x.com. mail.x.com. (
20000414 ; Serial Number
3600 ; Refresh
300 ; Retry
172800 ; Expiry
43200 ) ; Minimum
IN NS x.com.
IN NS 207.170.3.6
IN NS 207.170.7.6
IN MX mail.x.com
IN HINFO Pentium/166 LINUX
mas90.x.com. IN A 207.x.x.182 ;
mail.x.com. IN A 207.x.x.177 ;
ftp IN CNAME mail.powersentry.com.
Here is the reverse.
@ IN SOA x.com. mail.x.com. (
20000414 ;
3600 ;
300 ;
172800 ;
43200 )
IN NS x.com.
IN NS 207.65.3.6.
IN NS 207.65.7.6.
177 IN PTR mail.powersentry.com.
182 IN PTR mas90.powersentry.com.
Bret
The last three lines should *not* be indented. When you indent a line,
you're indicating that it's an additional record for the name on the
previous line. When you're starting a new hostname you have to put the
name at the left margin.
>Here is the reverse.
>
>@ IN SOA x.com. mail.x.com. (
> 20000414 ;
> 3600 ;
> 300 ;
> 172800 ;
> 43200 )
>
> IN NS x.com.
> IN NS 207.65.3.6.
> IN NS 207.65.7.6.
>
> 177 IN PTR mail.powersentry.com.
> 182 IN PTR mas90.powersentry.com.
Same problem with the last two lines.
--
Barry Margolin, bar...@genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.