BIND DNS -- Zone
Hey guys,
I am having a bit of trouble with my newly purchased domain. I have have a website running on my Debian server, running apache. I have created a zone file that I believe is correct: $TTL 1d @ IN SOA inescapable.ca. ( 2006100201 ; serial 3h ; refresh 1h ; retry 1w ; expiry 1d ) ; minimum IN NS www 24.108.195.241. I would really like to have my website accessible with the purchased domain. Thank guys you are going to save me :) |
Quote:
Code:
IN NS www.inescapable.ca. |
...And I believe you're missing the responsible host and user for the domain... I think it should go after the domain name being specified in the SOA record...
Cheers |
Bathory, I am going to give that try right now. Thanks. I will keep both of you posted. Cheers.
|
Okay guys, this is the output:
dns_rdata_fromtext: master/inescapable.ca:3: near '3h': not a valid number zone inescapable.ca/IN: loading master file master/inescapable.ca: not a valid number _default/inescapable.ca/in: not a valid number [FAILED] [root@Burns michael]# I am pretty sure 3h is a valid number. Any thoughts? |
Quote:
$TTL 3600 nescapable.ca IN SOA nescapable.ca. webmaster.inescapable.ca ( .la.us. ( |
okay this is what I have in my configuration
$TTL 1d @ IN SOA inescapable.ca. ( 2006100201 ; serial 3h ; refresh 1h ; retry 1w ; expiry 1d ) ; minimum IN NS www.inescapable.ca. www IN A 24.108.195.241 and my error is [root@Burns michael]# /etc/init.d/named start Starting named: Error in named configuration: zone localdomain/IN: loaded serial 42 zone localhost/IN: loaded serial 42 zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700 zone 255.in-addr.arpa/IN: loaded serial 42 zone 0.in-addr.arpa/IN: loaded serial 42 dns_rdata_fromtext: master/inescapable.ca:3: near '3h': not a valid number zone inescapable.ca/IN: loading master file master/inescapable.ca: not a valid number _default/inescapable.ca/in: not a valid number [FAILED] [root@Burns michael]# |
Quote:
read my above message |
Alright, here is the suggested updates.
$TTL 1d @ inescapable.ca IN SOA webmaster.inescapable.ca. ( 2006100201 ; serial 3h ; refresh 1h ; retry 1w ; expiry 1d ) ; minimum IN NS www.inescapable.ca. www IN A 24.108.195.241 Thanks again. |
and with that recored I get this error.
master/inescapable.ca:2: unknown RR type 'inescapable.ca' zone inescapable.ca/IN: loading master file master/inescapable.ca: unknown class/type _default/inescapable.ca/in: unknown class/type [FAILED] [root@Burns michael]# Thanks for all your time, I will return the favour anytime I can :D |
Hi,
Quote:
For starters and to understand what's going on I'd suggest to be a bit more verbose and "canonical": Code:
$TTL 1d Code:
$TTL 1d Cheers Rupert PS: the "@" replaces the domain name. So it's either "@" or "inescapable.ca", but not both! |
Alright Rupert,
I have taken note of your changes and applied them. This is slowly making more sense to me here. All the text that I have covered is only applicable to LAN's. Anyway with the follwing: $TTL 1d @ IN SOA www.inescapable.ca. hostmaster.inescapable.ca. ( 2006100201 ; serial 3h ; refresh 1h ; retry 1w ; expiry 1d ) ; minimum IN NS www.inescapable.ca. www IN A 24.108.195.241 I get the following error: master/inescapable.ca:11: unknown RR type 'www' zone inescapable.ca/IN: loading master file master/inescapable.ca: unknown class/type _default/inescapable.ca/in: unknown class/type Thanks again! |
Quote:
Quote:
Again, follow the example syntax shown in other posts |
Thanks for the insight Scowles. I now have named running, next I have to get my website associated with it :D
|
Great, looks like everything is setup. Does anybody know how long it takes for a website to become public?
|
All times are GMT -5. The time now is 12:17 PM. |