The Laughing Cow
04-03-2002, 08:36 AM
Hi,
I have a client on a windows 2000 plan and we seem to be having some DNS problems.
The DNS has propogated of our nameservers.
The user can access http://forums.domain.com i.e a subdomain. However they cannot access http://domain.com.
What could be responsible for this problem?
I can't see how a subdomain can work but not the main domain.
I am assuming I there is a problem with the DNS, We are running HSphere which the DNS is handled on a linux box fyi.
Thanks for the replies in advance guys
The Laughing Cow
04-03-2002, 08:46 AM
I should say here is the DNS record from a lookup. I have changed domain for obvious reasons
domain.com IN NS ns2.server.com 86400s (1d)
domain.com IN NS ns1.server.com 86400s (1d)
domain.com IN A 216.xxx.33.127 86400s (1d)
domain.com IN MX preference: 10
exchange: mail.server.com
86400s (1d)
domain.com IN SOA server: ns2.server.com
email: admin@server.com
serial: 1017882455
refresh: 10800
retry: 3600
expire: 604800
minimum ttl: 86400
86400s
I also compare this domain to another domains DNS and they contain all the same records etc (obviously for different domains ;))
The Prohacker
04-03-2002, 08:58 AM
If forums.domain.com resolves correctly, I doubt its a DNS issue, thats considering you have the correct records defined for that domain... Which you didn't post...
If domain.com resolves to the correct IP, then I bet its prolly the server not handling named based hosting correctly, such as it can only use www.domain.com or forums.domain.com....
Hopefully I'm clear on this, its 6am :P
The Laughing Cow
04-03-2002, 09:05 AM
Thanks prohacker. I have also tried www.domain.com and domain.com on their own still to no joy.
For forums.domain.com I see
name class type data time to live
forums.domain.com IN A 216.xxx.33.127 86400s (1d)
forums.domain.com IN MX preference: 10
exchange: mail.server.com
86400s (1d)
clanfab.com IN SOA server: ns2.server.com
email: admin@server.com
serial: 1017882457
refresh: 10800
retry: 3600
expire: 604800
minimum ttl: 86400
86400s (1d)
I cannot ping the domain name either. I am starting to get confused on this stuff :(
I apreciate the help! :)
The Prohacker
04-03-2002, 06:15 PM
Originally posted by The Laughing Cow
For forums.domain.com I see
name class type data time to live
forums.domain.com IN A 216.xxx.33.127 86400s (1d)
forums.domain.com IN MX preference: 10
exchange: mail.server.com
86400s (1d)
clanfab.com IN SOA server: ns2.server.com
email: admin@server.com
serial: 1017882457
refresh: 10800
retry: 3600
expire: 604800
minimum ttl: 86400
86400s (1d)
Is that the entire dns database for that domain? I haven't used HSphere... But here's a sample dns db:
root@grep [/]# cat /var/named/mydomain.com.db
; Zone File for mydomain.com
@ 14400 IN SOA ns.domain.net. root.ns.domain.net. (
1014156115
28800
7200
3600000
86400
)
mydomain.com. 14400 IN NS ns.domain.net.
mydomain.com. 14400 IN NS ns2.domain.net.
mydomain.com. 14400 IN A 216.00.98.165
localhost.mydomain.com. 14400 IN A 127.0.0.1
mydomain.com. 14400 IN MX 0 mydomain.com.
mail 14400 IN CNAME mydomain.com.
www 14400 IN CNAME mydomain.com.
ftp 14400 IN CNAME mydomain.com.
* 14400 IN A 216.00.98.165
chattr 14400 IN A 66.000.84.2
*.chattr 14400 IN A 66.000.84.2
If thats your entire dns entry for your domain, you need to define A records for domain.com and www.domain.com or an A record for domain.com and a CNAME for www
The Laughing Cow
04-03-2002, 06:24 PM
Thanks pro for the help. I decided to readd the domain in the end and it seems to be working ok,
Thanks for the advice :)