I have configured a zone fine on dns and now if i type the domain it redirect to www.www.domain.com instead www.domain.com
Can anyoane help to sort it out and find what is wrong in the zone file?
$TTL 86400
@ IN SOA ns1.dnsdomain.com. (
2014052702 ; serial
14400 ; refresh
1800 ; retry
604800 ; expire
86400 ) ; minimum
@ IN NS ns3.dnsdomain.com.
@ IN NS ns2.dnsdomain.com.
@ IN NS ns1.dnsdomain.com.
@ IN A 192.168.1.10
localhost IN A 127.0.0.1
mail IN A 192.168.1.10
www IN A 192.168.1.10
ftp IN CNAME www
imap IN CNAME www
loopback IN CNAME localhost
pop IN CNAME www
relay IN CNAME www
smtp IN CNAME www
@ IN MX 10 mail
if i enter 192.168.1.10 in the web it redirect to www.192.168.1.10 if i enter www.domain.com it redirect to www.www.domain.com
Any help is appreciated !
NSLOOKUP
s on the things that are misbehaving? Also: have you definitely waited a refresh time etc? You shouldn't get redirected to 'www.192.168.1.10' in ... almost any circumstances, because that's nothing to do with your DNS. Although, adding a DNS alias to localhost is pretty dirty.