none
DNS appending to end of address

    Question

  • Hi

    I am trying to setup the correct lookup of an external DNS name from within our network. When external users do a nslookup to mail.mydomain.co.nz they get the correct ip address. When internal users try the same nslookup '.co.nz' gets appended to the end of the domain name and returns the wrong ip address (e.g. mail.mydomain.co.nz.co.nz)

    How do I fix this?

    Saturday, February 11, 2012 9:07 PM

Answers

  • Please  check which DNS suffixes are used on your internal client computers. I think that 'co.nz' had been added as a DNS suffix.

    If you internal domain the same as your external one? If yes then please create an A record mail in your zone named mydomain.co.nz which points to the wanted IP address. Like that, internal users will not find problems when resolving your DNS records.



    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

    • Marked as answer by Tiger Li Thursday, February 16, 2012 1:27 AM
    Sunday, February 12, 2012 10:04 AM
  • Hi

    I am trying to setup the correct lookup of an external DNS name from within our network. When external users do a nslookup to mail.mydomain.co.nz they get the correct ip address. When internal users try the same nslookup '.co.nz' gets appended to the end of the domain name and returns the wrong ip address (e.g. mail.mydomain.co.nz.co.nz)

    How do I fix this?

    Are you just speaking of nslookup or ping? If so, just put a period at the end of the query. Applications won't do this, just nslookup will. I haven't seen ping do it.

    Ace


    Ace Fekay
    MVP, MCT, MCITP Enterprise Administrator, MCTS Windows 2008 & Exchange 2007 & Exchange 2010, Exchange 2010 Enterprise Administrator, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php

    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    FaceBook Twitter LinkedIn

    • Marked as answer by Tiger Li Thursday, February 16, 2012 1:27 AM
    Monday, February 13, 2012 4:48 AM
  • Hi robotdn,

    Thanks for posting here.

    It appears that DNS suffix entry “.co.nz” has been assigned to client when they internally . How did they obtained address ? form DHCP ?
    Actually this is expected as long as we put a dot at the end of the query string “mail.mydomain.co.nz.” like Ace mentioned and see how is going.

    We can get the explication about how DNS suffix effects domain querying at client form the link below:

    Configuring Query Settings
    http://technet.microsoft.com/en-us/library/cc959339.aspx

    Thanks.

    Tiger Li


    Tiger Li

    TechNet Community Support

    • Marked as answer by Tiger Li Thursday, February 16, 2012 1:27 AM
    Monday, February 13, 2012 9:52 AM

All replies

  • Please  check which DNS suffixes are used on your internal client computers. I think that 'co.nz' had been added as a DNS suffix.

    If you internal domain the same as your external one? If yes then please create an A record mail in your zone named mydomain.co.nz which points to the wanted IP address. Like that, internal users will not find problems when resolving your DNS records.



    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

    • Marked as answer by Tiger Li Thursday, February 16, 2012 1:27 AM
    Sunday, February 12, 2012 10:04 AM
  • Hi

    I am trying to setup the correct lookup of an external DNS name from within our network. When external users do a nslookup to mail.mydomain.co.nz they get the correct ip address. When internal users try the same nslookup '.co.nz' gets appended to the end of the domain name and returns the wrong ip address (e.g. mail.mydomain.co.nz.co.nz)

    How do I fix this?

    Are you just speaking of nslookup or ping? If so, just put a period at the end of the query. Applications won't do this, just nslookup will. I haven't seen ping do it.

    Ace


    Ace Fekay
    MVP, MCT, MCITP Enterprise Administrator, MCTS Windows 2008 & Exchange 2007 & Exchange 2010, Exchange 2010 Enterprise Administrator, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php

    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    FaceBook Twitter LinkedIn

    • Marked as answer by Tiger Li Thursday, February 16, 2012 1:27 AM
    Monday, February 13, 2012 4:48 AM
  • Hi robotdn,

    Thanks for posting here.

    It appears that DNS suffix entry “.co.nz” has been assigned to client when they internally . How did they obtained address ? form DHCP ?
    Actually this is expected as long as we put a dot at the end of the query string “mail.mydomain.co.nz.” like Ace mentioned and see how is going.

    We can get the explication about how DNS suffix effects domain querying at client form the link below:

    Configuring Query Settings
    http://technet.microsoft.com/en-us/library/cc959339.aspx

    Thanks.

    Tiger Li


    Tiger Li

    TechNet Community Support

    • Marked as answer by Tiger Li Thursday, February 16, 2012 1:27 AM
    Monday, February 13, 2012 9:52 AM
  • Hi

    Thanks for your reply.

    The Primary DNS suffix is 'na.mydomain.co.nz' in my network so I'm still not sure why '.co.nz' is appended to the end of an address when I try a NSLOOKUP on mail.mydomain.co.nz

    I only need to fix this issue for one address 'mail.mydomain.co.nz' so internal users can resolve this address correctly and access their mail. The address works fine for external users.

    Would I be best selecting Append these DNS suffixes (in order) on the internal client computers and adding 'mydomain.co.nz' and 'na.mydomain.co.nz' to the list or is there a better way?

    Tuesday, February 28, 2012 6:46 PM
  • Hi

    Thanks for your reply.

    The Primary DNS suffix is 'na.mydomain.co.nz' in my network so I'm still not sure why '.co.nz' is appended to the end of an address when I try a NSLOOKUP on mail.mydomain.co.nz

    I only need to fix this issue for one address 'mail.mydomain.co.nz' so internal users can resolve this address correctly and access their mail. The address works fine for external users.

    Would I be best selecting Append these DNS suffixes (in order) on the internal client computers and adding 'mydomain.co.nz' and 'na.mydomain.co.nz' to the list or is there a better way?

    Actually, we're not entirely talking about the Primary DNS Suffix, rather the Search Suffixes, but the Search Suffixes are devolved (derived) from the Primary DNS Suffis, but as far as how far it devolves up the domain level tree (you have quite a few), it depends on if it's Windows 7 or an earlier operating system. WIndows 7 will stop at the forest root domain name.

    To better help, please post the following to allow us a greater understanding of the configuration in order to possibly diagnose this further:

    • An unedited ipconfig /all
    • Have you changed anything in the NIC, IPv4, Advanced, DNS tab properties, as you were asking? If so, what was changed? Maybe a screenshot may help?
    • Any GPOs set to push certain suffixes?
    • What is the AD DNS domain name of the forest root domain?
    • An example of exactly what is being used by users to get email and what you are typing in as the mail server address. At this time, it doesn't appear to be an Outlook/Autodiscover or Outlook Anyware client to an Exchange server, unless I'm mis-reading your post, and it appears to be a POP3 or IMAP4 connection. If you have to type in the full name of the POP and SMTP server, what exactly are you typing in for these servers when confguring the mail client?

    .

    Normally, if you type in a single name, the hostname resolution process will suffix each domain name in the list, as shown in an ipconfig /all, until a hit.

    .

    Test it with nslookup. Please post the output:

    Run the following:

    • nslookup
    • mail.mydomain.co.nz   ---> Try it with a period, and without a period - what do you get?

    Then try it with the diagnostic switch:

    • nslookup
    • set d2
    • mail.mydomain.co.nz   ---> Try it with a period, and without a period - what do you get?

    .

    Ace


    Ace Fekay
    MVP, MCT, MCITP Enterprise Administrator, MCTS Windows 2008 & Exchange 2007 & Exchange 2010, Exchange 2010 Enterprise Administrator, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php

    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    FaceBookTwitterLinkedIn



    Tuesday, February 28, 2012 10:56 PM
  • Hi

    Thanks for your reply.

    The Primary DNS suffix is 'na.mydomain.co.nz' in my network so I'm still not sure why '.co.nz' is appended to the end of an address when I try a NSLOOKUP on mail.mydomain.co.nz

    Just to point As I suggested earlier, put a period at the end of the nslookup query so nslookup won't suffix 'co.nz" to the end, such as :

    mail.mydomain.co.nz.   <--- period at the end of it.

    Whatever mail client you are using, shouldn't be suffixing it this way, only with nslookup.


    Ace Fekay
    MVP, MCT, MCITP Enterprise Administrator, MCTS Windows 2008 & Exchange 2007 & Exchange 2010, Exchange 2010 Enterprise Administrator, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php

    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    FaceBook Twitter LinkedIn

    Thursday, March 01, 2012 12:40 AM