OVH Community, your new community space.

HOWTO: Setting up DNS for your domain


Trapper
09-06-2014, 10:16
Hi Both,

This post is over 4 years old, so not only have the images been removed, but the OP probably does not post here any more.

There is also the problem that the steps and names have changed at both GoDaddy and OVH.

GoDaddy changed the management of domains quite some time ago.

OVH will soon force us to use Manager 422B, as opposed to Manager 3, which these images are taken from.

I have however added images to the post, which should help you,

These images will also die after a while, but so will the steps required at the control panels...

~Trap

Quote Originally Posted by everwicked
A few people have been asking about this and since I was confused about it myself when I read the OVH documentation, I decided to write a mini-guide to clear any confusion. Additions are welcome.

This guide assumes that:
- You have bought your domain yourself and have access to the registrar
- You will be running a DNS server on your box

Note that I'm running Windows on my Server so I will provide screenshots for Windows 2008 DNS server but you will need to take the same steps with Linux and webmin, for example.

1. Buy your domain - I use godaddy.com - by far the cheapest registrar and with very good services.

2. Define two hosts with the registrar:

ns1.mydomain.com - which points to your server's IP
ns2.mydomain.com - which points to the IP of ns.kimsufi.com or ns.ovh.net depending on where you got your server from




3. Define the nameservers for your domain with the registrar

Use ns1.mydomain.com and ns2.mydomain.com that we have above




In step 2, you basically tell the world how to find your nameservers for your domain and in step 3 you tell the world which nameservers to use to find your domain.

4. Go to the OVH manager => Services => Manage DNS => Secondary DNS and add the domain name and the IP of your server which will be the DNS Server:




5. Go to your DNS Server software and add the following entries:

THE DOTS AT THE END ARE IMPORTANT

SOA

Primary server - mydomain.com.
Admin - someemail.mydomain.com.
Nameservers - ns1.mydomain.com. and ns2.mydomain.com.

NS Entries

NS - ns1.mydomain.com. pointing to your server's IP
NS - ns2.mydomain.com. pointing to ns.kimsufi.com/ns.ovh.net as above

A entires

A - blank - your server's IP
A - www - your server's IP

For mail server, optional

Add one A entry for "mail" to your server's IP and an MX entry




That's it! Be patient while DNS servers get updated - it takes a couple of hours usually.

To test it's working try (from your PC):

nslookup mydomain.com

It should give you the IP of your server.

Alexxander
09-06-2014, 03:21
Yes, I also not see it.
Please use google albums or flickr for images.

tolik777
06-06-2014, 09:56
I can't see pictures

everwicked
10-05-2010, 17:47
A few people have been asking about this and since I was confused about it myself when I read the OVH documentation, I decided to write a mini-guide to clear any confusion. Additions are welcome.

This guide assumes that:
- You have bought your domain yourself and have access to the registrar
- You will be running a DNS server on your box

Note that I'm running Windows on my Server so I will provide screenshots for Windows 2008 DNS server but you will need to take the same steps with Linux and webmin, for example.

1. Buy your domain - I use godaddy.com - by far the cheapest registrar and with very good services.

2. Define two hosts with the registrar:

ns1.mydomain.com - which points to your server's IP
ns2.mydomain.com - which points to the IP of ns.kimsufi.com or ns.ovh.net depending on where you got your server from



3. Define the nameservers for your domain with the registrar

Use ns1.mydomain.com and ns2.mydomain.com that we have above



In step 2, you basically tell the world how to find your nameservers for your domain and in step 3 you tell the world which nameservers to use to find your domain.

4. Go to the OVH manager => Services => Manage DNS => Secondary DNS and add the domain name and the IP of your server which will be the DNS Server:



5. Go to your DNS Server software and add the following entries:

THE DOTS AT THE END ARE IMPORTANT

SOA

Primary server - mydomain.com.
Admin - someemail.mydomain.com.
Nameservers - ns1.mydomain.com. and ns2.mydomain.com.

NS Entries

NS - ns1.mydomain.com. pointing to your server's IP
NS - ns2.mydomain.com. pointing to ns.kimsufi.com/ns.ovh.net as above

A entires

A - blank - your server's IP
A - www - your server's IP

For mail server, optional

Add one A entry for "mail" to your server's IP and an MX entry



That's it! Be patient while DNS servers get updated - it takes a couple of hours usually.

To test it's working try (from your PC):

nslookup mydomain.com

It should give you the IP of your server.