LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-22-2004, 08:39 PM   #1
tarheel92x
Member
 
Registered: Sep 2003
Location: Southeast USA
Distribution: CentOS
Posts: 111

Rep: Reputation: 15
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.......

Last edited by tarheel92x; 01-22-2004 at 08:53 PM.
 
Old 01-22-2004, 09:56 PM   #2
rex
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware bay-bee
Posts: 11

Rep: Reputation: 0
86400 ) ; Minimum

should be 86400; ) Minimum
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS -- PTR -- help understand Fredstar Linux - Newbie 8 09-28-2005 07:37 AM
Please help me understand DNS doughammond Linux - Networking 4 10-16-2003 09:35 AM
Trying to figure out/understand this BIND/DNS thing MasterC Linux - Networking 11 09-21-2003 02:43 PM
i don't understand... humanveal Linux - Software 17 05-20-2003 03:24 AM
Trying to understand DNS and Virtual Hosting dsiguy Linux - Newbie 2 11-26-2002 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration