|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all, what a great place here. I should have found this place sooner! I would have had more sleep!
Anyway. As far as I can see I got my DNS up and working fine (windows server 2003 and BIND (last version)) When I do a NS lookup it will show me the correct info, and the domain / site can be accessed fine. (from outside the LAN) Till now I've been using Zoneedit to do all the dNS stuff, but now I'm thinking about moving (over 20 domains) to my own DNS server! I would like to use the same NS1 and NS2 for all the domain names (no mail needed on any of the domain names), and not setup a new NS1/2 for every domain name! Do I only need to add the domain names to the "named.conf" file, or do I also need to create a "domainname.com.zone" file for each domain name? One more "small" thing. I'm still getting an error showing up in the event viewer. The error is Error: zone 9.216.62.in-addr.arpa/IN: loading master file 62.216.9.rev: unknown class/type Looking at the error, I guess it's got something todo with the "reverse" zone! This is how I've set it up (in the named.conf file), and as far as I can see all is ok! (note: my IP is 62.216.9.240) Quote:
Any sugestion what could be the error? Thanks for reading, and keep up the good work! Noel, The Netherlands. |
|
#2
|
||||
|
||||
|
"Do I only need to add the domainnames to the "named.conf" file, or do I also need to create a "domainname.com.zone" file for each domainname?"
All master zones require a zone block in named.conf and a zone file. "Any sugestion what could be the error?" Usually with errors like that you also get a line number. There's a syntax error in your zone file - not named.conf.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links: Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts |
|
#3
|
|||||
|
|||||
|
Quote:
Ok.. Thank you for the info Quote:
Hmm I thought that I was so close :-( I tried starting BIND with the rndc.exe start command! It did not start ![]() (when I start it the "windows way" it does start!) Next thing I did is a named.exe -g thing.. Hell this is what I got back.. Quote:
As you can see I've got 2 NIC's in it! Could this be a problem (two times port 53?) Thanks again for any help! I'm really stuck! Noel The Netherlands. |
|
#4
|
||||
|
||||
|
Looks like you got PRT in your reverse zone file instead of PTR on line 19.
|
|
#5
|
||||
|
||||
|
Quote:
Hmm I need more coffie! Yes it was true.. PRT.. I've changed it, but I now get two errors.. I really suck! Quote:
My 62.216.9.rev file looks (now) like this: Code:
$TTL 900 ; 900 seconds default record (T)ime (T)o (L)ive in cache ; Authored by SilentRage ; ; Download Location: ; http://www.dollardns.net/bind/ @ SOA ns1.e2b.org. ( ; ns1.e2b.org is the primary server for e2b.org admin.e2b.org. ; contact email for e2b.org is admin@e2b.org 2004041700 ; Serial ID in reverse date format 21600 ; Refresh interval for slave servers 1800 ; Retry interval for slave servers 604800 ; Expire limit for cached info on slave servers 900 ) ; Minimum Cache TTL in zone records @ NS ns1.e2b.org. ; ns1.e2b.org is a host for 127.0.0.x @ NS ns2.e2b.org. ; ns2.e2b.org is a host for 127.0.0.x 240 PTR mail.e2b.org. ; 62.216.9.240 is mail.e2b.org Looks like it's going to be a long night again! Any suggestions? Noel |
|
#6
|
|||
|
|||
|
I found the problem / fix
In my 62.216.9.rev file the line ends with Quote:
I've added a "return" after this line (so the next line is empty), and guess what.. Error's are gone! Thanks again SilentRage.. All Kudos go to you! Noel |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > confused! zone and more domains (with same ns1/ns2) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|