Link to home
Start Free TrialLog in
Avatar of PaulRyanMc
PaulRyanMc

asked on

Setting up VPS DNS records

Hello,
I recently purchased a VPS, of which I had no clue how to work. I've since been working diligently to get it up and running, I have everything installed and running, PHP, MySQL, Apache etc etc.

I'm now stuck on setting up my Reverse DNS record, using BIND9 via SSH.

I've read many tutorials, and tried a lot of different methods to get this working, but to no avail. So I've given in and eventually I'm asking for some help.

Lets say my I.P. Address is 199.167.29.186, I've setup the following in "named.conf.local":
zone "29.167.199.in-addr.arpa" IN {
type master;
file "/etc/bind/29.167.199.in-addr.arpa";
allow-update { none; };
allow-transfer { none; };
};

Open in new window


Then in the zone file "29.167.199.in-addr.arpa", I have this:
domain.net. 600 IN SOA ns1.domain.net. admin.domain.net. (
2010122801 ; Serial
7200       ; refresh
7200       ; retry
3600000    ; expire
86400      ; default_ttl
)
IN NS ns1.domain.net.
186 IN PTR domain.net.

Open in new window


I get the following errors:
zone 29.167.199.in-addr.arpa/IN: has 0 SOA records
zone 29.167.199.in-addr.arpa/IN: has no NS records
zone 29.167.199.in-addr.arpa/IN: not loaded due to errors.

It was a lot worse, but this where I got up to.

I have looked up the NS of my I.P. and the server belongs to Google (Server I.P. 8.8.8.8), I've heard that you have to contact the owner of said I.P. to get them to set up your I.P.'s reverse DNS.

Any help would be greatly appreciated!

Kind regards, Paul.
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PaulRyanMc
PaulRyanMc

ASKER

Hello Chris, thanks for your reply.

I'm assuming, I just need to edit the current .arpa record with your change listed above?
I'm about to contact my VPS host to check about the PTR record, been a busy weekend so I've not had much time to get stuff done.

Thanks, again.

Will be back with any results.

Paul.
That's right, yes. It will at least make the zone load.

Chris