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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bind 9.1 dns resolve issues

Status
Not open for further replies.

optimised

Technical User
Jun 21, 2001
96
US
Hi folks,

I can only get to a web page on my dns server by using the nameservers ip address. The two zone files below produce error message-ignoring out of zone data several locations. the third zone file works with zero errors but still can't serve up domain by name (eg) myhostman.com (beta site) How can either be re-wrote to keep bind 9.1.0 happy? and hopefully fix the nameresolution problem? Or what other
config files can cause this. (resolv.conf, hosts ?)


$TTL 86400
@ IN SOA ns1.myhostman.com. opti.myhostman.com. (
20010819; Serial
12H ; Refresh
1H ; Retry
2W ; Expire
1D ) ; Minimum
localhost.mydomain.com. IN A 127.0.0.1
smtp.mydomain.com. IN A 206.107.69.66
ns1.mydomain.com. IN A 206.107.69.66
ns2.mydomain.com. IN A 206.107.69.67
mydomain.com. IN NS ns1.mydomain.com.
mydomain.com. IN NS ns2.mydomain.com.
; IN A 206.107.69.66
mydomain.com. IN A 206.107.69.66
ftp.mydomain.com. ; IN A 206.107.69.66
; IN A 206.107.69.67
mydomain.com. IN A 206.107.69.67
mydomain.com. IN MX 0 smtp.mydomain.com.


$TTL 86400
@ IN SOA ns1.myhostman.com. opti.myhostman.com. (
20010814; Serial
12H ; Refresh
1H ; Retry
2W ; Expire
1D ) ; Minimum
IN NS ns1.myhostman.com.
IN NS ns2.myhostman.com.
A 206.107.69.66
ftp IN A 206.107.69.66
A 206.107.69.67
mail IN A 206.107.69.67
IN MX 5 mail.myhostman.com.


$TTL 86400
@ IN SOA ns1.myhostman.com. opti.myhostman.com. (
20010812; Serial
12H ; Refresh
1H ; Retry
2W ; Expire
1D ; Minimum )
IN NS ns1.myhostman.com.
IN NS ns2.myhostman.com.
IN MX 10 smtp
localhost. IN A 127.0.0.1
smtp IN A 206.107.69.66
A 206.107.69.66
ftp IN A 206.107.69.66
A 206.107.69.66

thanks
 
optimised

the third zone file has an error on the closing bracket for the soa record. the ) should be before the " ; Minimum "

on the first two files I would suggest removing the "." from the end of the lines except the NS records.


hth
stan
 
Hi,
I'd like to use the first one and I'll try removing the period and try it out later on. I've fixed the third one and it loads fine (no errors) but still not able to resolve to domain names.

I'm wondering that maybe using the dnssec key has a bug in version 9.1.0 and is blocking tcp/ip request. I have ran the key generator and added keys to rndc.conf and named.conf.

Just I guess, I'm not sure but it seems that dns zone request just are not being accessed. Do you know if it is possible that it is. I haven't used the dnssec before.
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top