How to setup mx record for subdomain?

Questions of the day ?

How to setup a MX domain for subdomeniu.domeniu.ro ?

We just now edit zone file /var/named/master/db.domeniuro

;
; db.domeniu.ro
;
$TTL 300

@ 1d IN SOA ns.biotree.tk. lucian.biotree.ro. (
2016090701 ;Serial
10800 ;Refresh after 3 hours
3600 ;Retry after 1 hour
1209600 ;Expire after 1 week
86400 ) ;Minimum TTL of 1 day

;———————–___ Name Servers ____—————————-

1d IN NS ns.biotree.tk.
1d IN NS ns2.biotree.tk.
1d IN MX 5 mail.domeniu.ro.
1d IN MX 10 smtp2.domeniu.ro.
1d IN TXT “v=spf1 a mx ptr -all”

;———————–___ Aliases___________—————————-

mail IN A 75.226.34.29
mail2 IN A 81.76.59.37

subdomeniu  IN  A  74.54.89.56

;———- MX Subdomeni —————-
subdomeniu IN MX 5 mail.domeniu.ro.
subdomeniu IN MX 20 smtp2.domeniu.ro.

 

How we test if we setup right MX ?

[root@mail7 ~]# host -t mx subdomeniu.domeniu.ro
subdomeniu.domeniu.ro mail is handled by 20 smtp2.domeniu.ro.
subdomeniu.domeniu.ro mail is handled by 5 mail.domeniu.ro.

DNS Server ISP Romania.

Salut,

Mai jos pun lista de servere DNS oferite de fiecare Internet Service Provider (ISP) din Romania:
Voi trece în dreptul fiecarui IP și ce Reverse DNS are fiecare. Daca nu are se trece none.

  1.  DNS Telekom
    193.231.100.2 – ns1.romtelecom.net
    193.231.100.3 – ns2.romtelecom.net
    193.231.100.130 – ns3.romtelecom.net
    193.231.100.134 – ns4.romtelecom.net
  2. DNS RDS
    193.231.236.25 – dns-cache-1.rdsnet.ro
    193.231.236.30 – dns-cache-2.rdsnet.ro
    193.231.236.17 –  ns1.rdsnet.ro
    193.231.236.10 –  ns2.rdsnet.ro
    213.154.124.1   –  dns1.rcs-rds.ro
    193.231.252.1   –  dns2.rcs-rds.ro
  3. DNS Vodafone
    81.12.128.206 – 81.12.128.206.vodafonenet.ro
    81.12.132.206 – 81.12.132.206.vodafonenet.ro
    193.230.161.3  –  none
    193.230.161.4  –  none
  4. DNS Orange
    62.217.193.1  –  ns1.orange.ro
    62.217.193.65  – ns2.orange.ro
    62.217.251.167  –  dedal.orange.ro
    62.217.251.162  –  walkiria.orange.ro
  5. DNS UPC, Astral
    95.77.94.77  –  nsc2.upcbiz.ro
    78.96.7.88   –  ro-cj01a-dns01.upcnet.ro
    95.77.94.88   –  ro-buh01a-dns01.upcnet.ro
    194.102.255.2  –  ns0.b.astral.ro
    194.102.255.3   – ns1.b.astral.ro
    193.230.240.21  – ns1.upcbiz.ro
    193.230.240.22  – ns2.upcbiz.ro
    194.102.255.26  – ns3.upcbiz.ro
    193.226.99.18  –   ns4.upcbiz.ro
  6. DNS INES
    80.86.96.1    –   NS-1.iNES.RO
    80.86.96.11  –   NS-2.iNES.RO
  7. DNS Nextgen
    188.173.1.21  –  188-173-1-21.next-gen.ro
    94.53.12.14    –  94-53-12-14.next-gen.ro
  8. DNS Primetelecom
    89.37.120.6  –  ns1.primetelecom.ro
    89.34.72.42  –  ns2.primetelecom.ro

 

DNS gratuit avem o lista scurta de Google și OpenDNS:

    1. Google
      8.8.8.8   –  google-public-dns-a.google.com
      8.8.4.4   –  google-public-dns-b.google.com
    2. OpenDNS
      208.67.222.222  –  resolver1.opendns.com
      208.67.220.220  – resolver2.opendns.com
    3. DNS gratuit de la freenom.com
      80.80.80.80    – no revers DNS
      80.80.81.81     – no revers DNS
    4. DNS gratuit de la IBM quad9
      9.9.9.9 – dns.quad9.net

UPDATE: 04.12.2017

Scopul acestei postari este doar personal și voi face update periodic.