Domain Trouble

Hi, I’ve bought a new .net domain from namecheap.com and added created my nameservers, e.g. ns1.mydomain.net and ns2.mydomain.net and pointed them to my server IP.

I then went to transfer DNS and changed it from namecheaps DNS records to my own ns1 and ns2 records.

On virtualmin this is my zone file but for some reason the domain still wont resolve to it

@ IN SOA ***.kimsufi.com. root.***.kimsufi.com. ( 1213800146 10800 3600 604800 38400 ) ns1.mydomain.net. IN NS ns1.mydomain.net. mydomain.net. IN A 255.255.255.0 www.mydomain.net. IN A 255.255.255.0 ftp.mydomain.net. IN A 255.255.255.0 m.mydomain.net. IN A 255.255.255.0 localhost.mydomain.net. IN A 127.0.0.1 mail.mydomain.net. IN A 255.255.255.0 mydomain.net. IN MX 5 mail.mydomain.net. mydomain.net. IN TXT "v=spf1 a mx a:mydomain.net ip4:255.255.255.0 ?all" ns2.mydomain.net. IN NS ns2.mydomain.net. 255.255.255.0.mydomain.net. IN PTR we.mydomain.net we.mydomain.net IN A 255.255.255.0 ns1.mydomain.net. IN A 255.255.255.0 ns2.mydomain.net. IN A 255.255.255.0

I changed my actual domain name and IP address just now as I don’t want them in public.

Any help would be greatly appreciated :slight_smile:

Thanks

Howdy,

Mmm, well, this might just be a typo from when you changed your actual domain names, but to make sure – these two records don’t have a “.” at the end of them:

we.mydomain.net IN A 255.255.255.0
255.255.255.0.mydomain.net. IN PTR we.mydomain.net

The "we.mydomain.net" would need a "." at the end or else it would get interpreted as actually being "we.mydomain.net.mydomain.net".

So with the ".", they would become:

we.mydomain.net. IN A 255.255.255.0
255.255.255.0.mydomain.net. IN PTR we.mydomain.net.

Have a good one,
-Eric

Thanks but it didn’t work either :frowning:

I’m just going to reinstall my server and go back to Plesk as I’m more experienced with that.

Well, if you’d be willing to share your host / DNS information off the forums, I’d be glad to point you in the right direction as to where the problem lies. We can probably figure that out with a few quick host/dig/whois queries.
-Eric

Thanks for the offer but the server is already in the middle of reinstalling.

changing dns at namecheap takes 24hrs to take effect, at least it did in my case…

255.255.255.0 is a subnet not a IP