+ Post New Thread
Results 1 to 4 of 4
Internet Related/Filtering/Firewall Thread, DNS & MX questions in Technical; We have our main domain school.au and we have DNS mx records which point to our exchange server for that ...
  1. #1

    Join Date
    Feb 2010
    Location
    Sydney
    Posts
    20
    Thank Post
    7
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    DNS & MX questions

    We have our main domain school.au and we have DNS mx records which point to our exchange server for that top level domain.

    We want to create a new A record in DNS for a subdomain.schoo.au and have MX records for that specific subdmain pointing to different mail server.

    How would we go about adding in more MX in the main dns entry? I Cant get my head round that part..

  2. #2

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Reading
    Posts
    5,068
    Thank Post
    160
    Thanked 925 Times in 727 Posts
    Blog Entries
    3
    Rep Power
    273
    Quote Originally Posted by redhelpdesk View Post
    We have our main domain school.au and we have DNS mx records which point to our exchange server for that top level domain.

    We want to create a new A record in DNS for a subdomain.schoo.au and have MX records for that specific subdmain pointing to different mail server.

    How would we go about adding in more MX in the main dns entry? I Cant get my head round that part..
    In the admin console for your domain, is there an option to pick what domain you want to change the settings for? it's hard to explain as they all work different but techically when you add a subdomain you should then be able to manage that seperatly and then add MX Records in that.

    Personally i point domains to servers via name server and then manage the DNS from there, as i cant do much with the domain registrar with regards to that.

    and at work i use a smarthost so likewise no need to worry.

    probably dont help much, but just thought i would mention it anyway mate.

  3. #3

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Every provider is different, check their FAQs or ask them.

  4. #4

    Join Date
    Feb 2009
    Posts
    95
    Thank Post
    3
    Thanked 33 Times in 32 Posts
    Rep Power
    17
    As mentioned by EduTech, it really depends on the domain hosting you have ... web control panel of some sort or do you submit Bind records?

    Essentially at the DNS level a different mail server (MX record) for a subdomain is trivial. In a typical (we'll use Bind since it's probably the most common domain server) record you'd have something like:

    Code:
    $TTL 3600
    example.com.  IN SOA example.com. webmaster.example.com. (
                            1 ; Serial ; Increment by one after every change
                       3600 ; Refresh every hour
                         900 ; Retry every 15 minutes
                  3600000 ; Expire 1000 hours
                       3600 ) ; Minimum 1 hour
    
        IN NS registrars-name-server-1.example.net.
        IN NS registrars-name-server-2.example.net.
    
        IN MX 10 mail.example.org.
    
        IN A 212.13.197.213
        www IN CNAME example.com.
        ftp IN CNAME example.com.
    Now what's not so clearly shown in that example is the MX record is actually for example.com, the domain being implicit in the Bind configuration because it's missing as the first bit of the line. So say we had a subdomain with a different mail server we would do something like this:

    Code:
    $TTL 3600
    example.com.  IN SOA example.com. webmaster.example.com. (
        1 ; Serial ; Increment by one after every change
        3600 ; Refresh every hour
        900 ; Retry every 15 minutes
        3600000 ; Expire 1000 hours
        3600 ) ; Minimum 1 hour
    
            IN NS registrars-name-server-1.example.net.
            IN NS registrars-name-server-2.example.net.
    
            IN MX 10 mail.example.org.
    
            IN A 192.168.0.1
    www IN CNAME example.com.
    ftp    IN CNAME example.com. 
    sub   IN A 192.168.0.2
    
    sub.example.com.  IN MX 10 some-other-mail-server.example.net.
    So all we've done is define a new record, type is MX again, but this one applies to the sub.example.com domain and points to another mail server.

    Those extra entries could actually be in a different Bind record (and often if that's what you'd do for a fully fledged sub domain) If you do need to use Bind then the NetWidget - Book Stuff is a pretty good book, haven't got my copy to hand, but I think there is a chapter on MX sub-domains.
    Last edited by Chillibear; 1st March 2010 at 07:26 AM. Reason: tried tidying up the code formatting

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 3
    Last Post: 11th February 2010, 09:04 PM
  2. DNS & Aliases (CNAMES).
    By boomam in forum Windows
    Replies: 3
    Last Post: 21st October 2008, 04:39 PM
  3. DNS & NSLOOKUP questions.
    By kennysarmy in forum Windows
    Replies: 4
    Last Post: 3rd October 2008, 11:49 AM
  4. DNS Server Questions
    By FN-GM in forum Windows
    Replies: 2
    Last Post: 26th November 2007, 09:02 AM
  5. DHCP & DNS entries are not the same.
    By tosca925 in forum Windows
    Replies: 3
    Last Post: 7th June 2007, 08:16 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •