Friday 16 September 2011

How to setup DNS settings (such as MX, A, CNAME, TXT)?

I have a domain (.co.uk) with 123-reg

The content is hosted by arhoster.com



Form the 123-reg panel, I have done the following :

-Changed the 2 DSN names to the ARHOSTER names



But what do I need to do for the following (if anything) :

- MX Records (is it email ?)

- CNAME

- A

- TXT



I want everything (mail, content, etc..) to be managed by ARHOSTER, apart from the domain registration.



Thank you.
How to setup DNS settings (such as MX, A, CNAME, TXT)?
MX *is* email. You have to provide a valid DNS name that is your mail server (not an IP address).



You don't need a CNAME record.

You don't need a TXT record (unless your provider says you do for SPF)



The A records point a name to a number...so you might need an %26quot;A%26quot; record to point %26quot;www.yourdomain.co.uk%26quot; to the IP address you want it to point to.
How to setup DNS settings (such as MX, A, CNAME, TXT)?
Here is a quick tutorial and has links to other information

http://www.networkclue.com/internet/DNS/鈥?/a>

Here is a typical dns record that is in the Zone File

1 $TTL 1D

2 @ IN SOA ns1.domain.com. hostmaster.domain.com. (

3 2003010900 ; serial is only 10 digits long

4 3H ; refresh

5 1H ; retry

6 1W ; expire

7 1D ) ; minimum

8 ;Dont forget to update the serial!!!!

9

10 ; TTL CLASS TYPE Resource Record Data

11 ;Name Servers

12 2D IN NS NS1.domain.com.

13 2D IN NS NS2.domain.com.

14

15 ;Mail Server(s)

16 1D IN MX 10 mail1.domain.com.

17 1D IN MX 20 mail2.domain.com.

18

19 ;Host Addresses

20 1D IN A 74.57.42.33

21 www 1D IN A 74.57.42.33

22 mail1 1D IN A 74.57.42.25

23 mail2 1D IN A 74.57.41.15

24 ns1 1D IN A 74.57.42.25

25 ns2 1D IN A 74.57.41.15

26

27 TXT %26quot;v=spf1 mx a:mail.domain.com ~all%26quot;

28 ;aliases %26amp; notes



not hard to do just need to understand the basics. The numbers that show in this typical file will not exist in the actual zone file!