Mach3
08-30-2003, 05:27 PM
I created 2 nameservers with 2 ips, ns1 and ns2.
I put these nameservers under the domain and use BIND to connect them. It works fine, but...
if I have
www.domain.com - it works
Without the www on the other hand, no such luck...
domain.com - fails, doesn't even see or connect to the server
I tried pinging and same result.
Anyone have a solution for this?
eHostSpace
08-30-2003, 06:56 PM
Guess its more of DNS entries than of the Domain name.
But I do not know the exact solutions to this.
Stable
08-30-2003, 07:10 PM
do you actually have a www record in the zone file?
Doug
Mach3
08-30-2003, 07:14 PM
Yes I have a www record. I also tried a blank record, but to no avail...im using Bind 9 , on Win2003 with IIS6...If that helps..
Stable
08-30-2003, 07:23 PM
Obviously at this point you've already tried restarting named right?
If it still isn't working there must be a problem with your zone file, maybe not formated right. How bout a copy and paste?
I've never actually used bind for windoze though so there could be something added in there that i'm missing.
Doug
Mach3
08-30-2003, 08:15 PM
I have all the following, and it does no good.
domain.com is the domain
xxx.xxx.xxx.xxx is 1st ip
xxx.xxx.xxx.xxx is 2nd ip
---------------------------------
@ NS ns1.domain.com.
@ NS ns2.domain.com.
@ MX 10 domain.com.
in A xxx.xxx.xxx.xxx
@ in A xxx.xxx.xxx.xxx
ns1 in A xxx.xxx.xxx.xxx
ns2 in A xxx.xxx.xxx.xxa
domain.com. in NS ns1.domain.com.
domain.com. in NS ns2.domain.com.
domain.com. in A xxx.xxx.xxx.xxx
www.domain.com. in A xxx.xxx.xxx.xxx
www in cname domain.com.
ftp in cname domain.com.
pop in cname domain.com.
smtp in cname domain.com.
mail in cname domain.com.
*.domain.com. in A xxx.xxx.xxx.xxx
Stable
08-30-2003, 08:32 PM
how bout trying to delete the line: www.domain.com. in A xxx.xxx.xxx.xxx
And change:
www in cname domain.com.
to:
www IN A xxx.xxx.xxx.xxx
Also make sure you update the serial and restart named before the changes will work!
Doug
Mach3
08-30-2003, 08:48 PM
It seems I found the problem, thanks for the help...I think I put in too much the first time and confused the server. So I redid the file, restarted and worked like a charm!
Final version:
@ NS ns1.domain.com.
@ NS ns2.domain.com.
@ MX 10 domain.com.
@ in A xxx.xxx.xxx.xxx
ns1 in A xxx.xxx.xxx.xxx
ns2 in A xxx.xxx.xxx.xxa
domain.com. in A xxx.xxx.xxx.xxx
www in A xxx.xxx.xxx.xxx
ftp in cname domain.com.
pop in cname domain.com.
smtp in cname domain.com.
mail in cname domain.com.
*.domain.com. in A xxx.xxx.xxx.xxx
Again, thanks for the help and fast replies, Problem Solved!