Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BIND cant recognise A(host) record types in zone file

Status
Not open for further replies.

failureto

Programmer
Aug 30, 2004
11
SI
hi
I'm running Red Hat 9.0
I tried to create simple master server for FTW.com zone.But when I started the server,Named couldn't locate hosts in that zone.So I opened /var/log/messages and found there was an error reported at startup

Aug 29 04:17:05 root named[9715]: dns_master_load: FTW.com.zone:13: unknown RR type 'Katja'
Aug 29 04:17:05 root named[9715]: zone FTW.com/IN: loading master file FTW.com.zone: unknown class/type
Aug 29 04:17:05 root named[9715]: running

Seems like my Bind server doesn't recognise A record type.I will post my config files even though I don't think it's anything wrong with those

NAMED.CONF FILE:

options { directory "/var/named" ; };

zone "." in {type hint; file "named.ca" ; };

zone "FTW.com" in {
type master;
file "FTW.com.zone";
};
__________________________________________

FTW.COM.ZONE FILE:

$TTL 3d

@ IN SOA L.FTW.com. U.L.FTW.com. (
20000160 ; Serial
21600 ; Refresh
1600 ; Retry
9w ; Expire
3h ) ; Negative cache TTL

;define the nameservers

IN NS L.FTW.com.

;Define hosts here it all goes wrong

Katja IN A 192.168.0.3
L IN A 192.168.0.7

thank you
 
It turned out that A type records have to be at the beginning of the line.Does this rule vary from one bind version to another?Where on internet can I find the rules as to where in line I have to place different types of records?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top