LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DNS, I do not understand this ..... (https://www.linuxquestions.org/questions/linux-networking-3/dns-i-do-not-understand-this-137648/)

tarheel92x 01-22-2004 09:39 PM

DNS, I do not understand this .....
 
Redhat9Firewall is what I have named my local domain. Redhat9Firewall.db is the local DNS database file. I am using BIND, not sure of the version, but it is default with Redhat 9.0.

When I run:

named-checkzone Redhat9Firewall /var/named/Redhat9Firewall.db

I get this error message:

dns_rdata_fromtext: /var/named/Redhat9Firewall.db:2: near eol: unexpected end of input
dns_master_load: /var/named/Redhat9Firewall.db:4 unknown RR type '14400'
zone Redhat9Firewall/IN: loading master file /var/named/Redhat9Firewall.db: unexpected end of input

Here is the Redhat9Firewall.db file:

$TTL 86400
@ IN SOA Redhat9Firewall. root.Redhat9Firewall.
(
2004012201 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum

; Private clients on the LAN
Redhat9Desk IN A 10.10.5.200
HOMEXP IN A 10.10.5.201
Redhat9Firewall IN A 10.10.5.202

; EOF

I only want this to handle local name resolution and forward DNS requests to the Internet through my ISP.

Here are the records I added to the /etc/named.conf file:

//Master server for Redhat9Firewall
zone "Redhat9Firewall" {
type master;
file "Redhat9Firewall.db";
};

zone "5.10.10.in-addr.arpa" IN {
type master;
file "redhatlan.db"
};

Any help would be greatly appreciated. I successfully debugged some of the syntax errors in /etc/named.conf but I cannot find anything wrong with lines 2 and 4 in the /var/named/Redhat9Firewall.db file.

Thanks in advance.......:newbie:

rex 01-22-2004 10:56 PM

86400 ) ; Minimum

should be 86400; ) Minimum


All times are GMT -5. The time now is 09:46 AM.