Question

DNS delegation

Asked by: SrikantRajeev

I have DNS server under ISP1 & I have registered multiple domain names under this ISP.
Now I have 2nd ISP. I am planning to shift my SMTP traffic to the 2nd ISP. For that I will be making the MX record change to my domains with the ISP 2 IP address.

But i come to know that if i do it there will be problem of reverse lookup & delegation needs to be configured with the ISP 2.

I would like to know what exaclty will happen if i change only the MX record with ISP 2 IP.
 Why should i configure delegation with the ISP 2. What is exactly DNS delegtation

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-07-15 at 23:29:02ID24574740
Tags

DNS delegation

Topics

Domain Name Service (DNS)

,

Simple Mail Transfer Protocol (SMTP)

Participating Experts
2
Points
500
Comments
33

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. DNS Delegation for one IP?
    Hi, We have ourselves a class C that our datacenter delegated to us. We now have a customer that is on one IP wanting to run hes own DNS. We have to delegate one IP to him right ? Or what does he need to do?
  2. Delegation
    When you use delegation, when you create the delegation how do you do it? If I have a DNS name testking.com and I add west.testking.com from where do I do the delegation? Is it from Testking.com to west.testking.com and the IP address?
  3. Dreamhost, at&t, reverse DNS, and subdomain delegation
    Here's what's going on - We switched to at&t for an ISP. We have a managed T1 through them. We have all of our web hosting and DNS hosting for our domains (there are 7 or 8 of them) going through Dreamhost. We want to keep it that way. Custom MX records are setup through...
  4. DNS Delegation
    I have a DNS Delegation question I want to clarify before I test it out. We have an external BIND DNS namespace called corp.com and our internal AD domain is named lan.corp.com. Users don't really know that they are on the lan.corp.com, so they often put in the FQDN of serv...
  5. Forward lookup zone and Zone delegation
    I have a Domain server, and a domain server im getting gateway and DNS address from. The question is here, what is Forward lookup zone, and zone delegation? and why should i use these? and what should i use? The teachers recommend both, but i didnt get a fully good answer on...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: kevin_uPosted on 2009-07-15 at 23:48:35ID: 24866896

It will all depend on how strict the mail servers that send you mail are going to be.

In many cases, it will work just fine.

Most mail servers simply require that a reverse lookup exists, and matches its forward lookup, which could be different from the mx name.

 

by: SrikantRajeevPosted on 2009-07-15 at 23:53:13ID: 24866935

Thank you for your reply. To cater this what should i do.
What should i ask the ISP2 to do so that there will be no problem with the reverse lookup.

 

by: kevin_uPosted on 2009-07-15 at 23:56:42ID: 24866955

Ask ISP2 to be sure that your assigned ip (static ip) has a valid reverse lookup.

 

by: SrikantRajeevPosted on 2009-07-15 at 23:59:18ID: 24866968

Yes I do have static IP address.

But to have valid reverse lookup what exactlty has to be done in ISP2.

The domain is reserved with the ISP1 which will not change. Only the network is getting changed now.
Pls let us know what exactly to be done in ISP2 to make the reverse dns lookup to work.
Is there any changes to be done in ISP1 also....

 

by: kevin_uPosted on 2009-07-16 at 00:01:58ID: 24866975

No change is needed for ISP1.

You'll have to talk with ISP2 support department to determine if your static IP has a valid reverse lookup.  Various ISPs handle this issue differently.  They may have a tool for you to use, or they may require you to configure a dns server to receive deligated lookups.

 

by: SrikantRajeevPosted on 2009-07-16 at 00:06:57ID: 24867002

thank you ..
I felt the same. It means in my dns server i need to configure delegation.

Could you please expalin in detail what exact change i need to do in my dns for the delegation.
I am not expecting syntax or command but to understand what i need to do for making the delegation to work,

Sorry i am new to this......

 

by: Chris-DentPosted on 2009-07-16 at 02:17:04ID: 24867612


> I felt the same. It means in my dns server i need to configure delegation.

I don't believe that to be the case. A delegation allows you to assign responsibility for a (DNS) sub-domain to a different set of servers.

When you registered your domain (depending on how you did that) you will have given two Name Server IP Addresses to the registrar. Those are used to create a delegation from the Top Level Domain servers (e.g. .com) to those who answer for your own domain. You would only modify the existing delegation or create another delegation if you were:

a. Moving the DNS servers to a new host (moving domain.com elsewhere)
b. Creating a sub-domain (e.g. sub.domain.com) which you wanted to host on different DNS servers

If you're maintaining your current DNS hosting then no changes to DNS, except for the MX record, are necessary.

The Reverse Lookup Zone isn't something you can control, you won't own the IP address range used by your new host.

So, what you need is:

1. To change the MX record, or the A record for your mail server so it reflects the new IP address
2. To request that your new host add a PTR record (Reverse Lookup) for your new IP address pointing back at the name of your mail server

Chris

 

by: SrikantRajeevPosted on 2009-07-17 at 01:10:33ID: 24876563

I got the information from my 2nd ISP that i need to setup reverse lookup at our side & the ISP 2 will do the delegation.

It matches your answer.

Can you guide me how exaclty i need to configure my DNS server for the reverse lookup with my new ISP ?

 

by: Chris-DentPosted on 2009-07-17 at 01:17:10ID: 24876582


What DNS software are you running?

In general terms you need to:

1. Create a Reverse Lookup Zone
2. Add PTR records for any hosts

That's very brief and vague though because this also depends on how ISP 2 delegate the zone to you. There are two types of delegation for reverse lookup zones Classful and Classless.

For Classful delegation you would create a zone like 3.2.1.in-addr.arpa for the network range 1.2.3.x. Classless delegation is used when you don't own the entire classful block (255.255.255.0, 255.255.0.0 or 255.0.0.0) and goes like this:

ISP 2 have:  3.2.1.in-addr.arpa

Individual IP addresses are delegated like this:

4.3.2.1.in-addr.arpa.  IN CNAME  4.1-28.3.2.1.in-addr.arpa.

Then your own server would host this zone "1-28.3.2.1.in-addr.arpa" which would finally contain the PTR record:

4.1-28.3.2.1.in-addr.arpa. IN PTR host.domain.com.

Have they told you what they're going to delegate yet?

Chris

 

by: SrikantRajeevPosted on 2009-07-17 at 01:21:26ID: 24876600

I am running BIND. I will check with my ISP regarding how they are going to delegate it & will get bak to you......

 

by: Chris-DentPosted on 2009-07-17 at 01:33:23ID: 24876648


Okay. Yell if you need help with the configuration or the zone itself :)

Chris

 

by: SrikantRajeevPosted on 2009-07-21 at 00:39:06ID: 24901934

Chris - Would like to know the following things.

As I have mentioned I am installing a new DNS servers under ISP2.
Apart from mail there are other services like websites published under ISP1 with their networks.
DNS functionality includes publishing of the A record , MX record , SOA & NS record for our websites.

Take for example I have the following A record -> www.abc.com <--> 1.1.1.1 from ISP1
This is configured on DNS server which is under the ISP1.

While moving to the new DNS server which is under the 2nd ISP IP network  my A record will remain the same but the only thing is it will be published under the DNS server which will be under ISP2 network.
Let me know whether this will work or not ?

 

by: Chris-DentPosted on 2009-07-21 at 01:12:37ID: 24902068


Yes it will, that sounds absolutely fine.

Chris

 

by: SrikantRajeevPosted on 2009-07-21 at 01:14:23ID: 24902075


So in case of only MX record change i need to do the delegation.

My domain name is registered under the ISP1. Can I maintain the same or should i shift the domain registration to my 2nd ISP.

 

by: Chris-DentPosted on 2009-07-21 at 01:18:51ID: 24902091


If ISP2 is taking over DNS for the domain then you just need to reinstate the MX record at ISP2. The MX record can point to any mail server, either at ISP1 or ISP2 (or elsewhere).

Chris

 

by: SrikantRajeevPosted on 2009-07-21 at 19:15:04ID: 24911025

Hi Chris - Still I have few confusion regarding this.

I am not able to really get the point why i should do the following.....

2. To request that your new host add a PTR record (Reverse Lookup) for your new IP address pointing back at the name of your mail server

 

by: SrikantRajeevPosted on 2009-07-21 at 20:17:20ID: 24911330

Hi Chris

I got further information regarding this.
My ISP1 DNS server is configured to do the reverse dns lookup for my mail domains.
But when i tried the same on my DNS server the query request got refused. So it means I need to configure my DNS server to perform the reverse dns lookup.

My query is since my DNS server is not configured for the reverse DNS lookup how it was working fine till now. Will my ISP DNS server will be taking care of all the reverse DNS lookup . If so how ?

 

by: Chris-DentPosted on 2009-07-22 at 00:58:46ID: 24912331


Did you ever find out how ISP2 are going to delegate it to you? Or are they going to maintain it themselves?

Chris

 

by: SrikantRajeevPosted on 2009-07-22 at 01:22:45ID: 24912450

I have escalated to them but not got the feedback. Waiting for it.

 

by: Chris-DentPosted on 2009-07-22 at 01:38:45ID: 24912527


You can see where responsibility lies at the moment with NsLookup.

If your public IP Address was 1.2.3.4 then this query would show you who is responsible:

nslookup -q=ns 3.2.1.in-addr.arpa

If there's no response for that, try:

nslookup -q=ns 2.1.in-addr.arpa

Otherwise, grab Dig (there's a Windows version here: http://members.shaw.ca/nicholas.fong/dig/

Then you can run:

dig 4.3.2.1.in-addr.arpa ptr +trace

Which will show you the full resolution path.

Chris

 

by: SrikantRajeevPosted on 2009-07-22 at 02:06:09ID: 24912682

I tried the NS lookup on my ISP DNS server & it returned the required lookup.

But when i did the same in my DNS server it replied that Query refused.

 

by: Chris-DentPosted on 2009-07-22 at 02:12:40ID: 24912709


Does your DNS server allow recursive queries? If it doesn't then it would explain why it's refused. It would also suggest that there's no problem (as such).

Chris

 

by: SrikantRajeevPosted on 2009-07-22 at 02:18:16ID: 24912738

mine is not recursive.

 

by: Chris-DentPosted on 2009-07-22 at 02:19:23ID: 24912742


Then Query Refused is understandable, you'll only give answers for zones you host directly.

Chris

 

by: SrikantRajeevPosted on 2009-07-22 at 02:25:36ID: 24912765


so in this case if i configure for PTR in my DNS server will it allow to reverse lookup..

 

by: Chris-DentPosted on 2009-07-22 at 02:35:37ID: 24912804


Either you must be authoritative for the reverse lookup zone, or you must allow recursive name resolution.

Do note that while you may not be able to use your own DNS server to resolve the address (because it's refusing recursion) any DNS that permits recursion will be able to. If I were to ask for your PTR record I would not need to talk to your own DNS server unless you have authority delegated to you for the (reverse lookup) zone. I would only need your DNS server for forward lookup.

Chris

 

by: SrikantRajeevPosted on 2009-07-22 at 19:43:59ID: 24921498

Chris - I have attached the diagram for reference. In the diagram its mentioned about my current mail flow & the proposed mail flow. The Mail severs mentioned are managed by us,.We also purchased the secondary DNS server services from ISP1.
We ae now shifting the traffic to ISP2. So my ISP 1 suggested to make the reverse dns lookup at our DNS server which is currently not configured & also ISP2 should be configured for delegation.

PLease let me know if this is right.

 

by: Chris-DentPosted on 2009-07-23 at 01:37:30ID: 24922891


I think you're better thinking of the name resolution paths for arpa.

Lets make up two IP blocks for this, 1.2.x.x (2.1.in-addr.arpa) for ISP1 and 3.2.x.x (3.2.in-addr.arpa) for ISP2. We'll say that 1.2.1.x and 3.2.1.x are the IP blocks you use for the purposes of illustration. This is the approximate delegation structure:


                               Root DNS Servers (a to m.root-servers.net)
                                                             |
                                                             |  Delegation of arpa to Regional Internet Registries
                                                             |
                                 RIR (ARIN, RIPE, APNIC, LACNIC, AfriNIC)
                                                  /                         \
            Delegation of 1.2.x.x    /                            \      Delegation of 3.2.x.x
                                               /                               \
                                            ISP 1                         ISP 2
                                                \                             /
            Delegation of 1.2.1.x     \                          /       Delegation of 3.2.1.x
                                                   \                       /
                                                   Your DNS Server

Clients asking to resolve names from IP Addresses in each of the IP blocks will follow the delegation structure above, which means the only way to get to "3.2.1.x" is via ISP 2.

The piece that's potentially missing at the moment is the delegation from ISP 2 to your DNS server. Either that path must stop at ISP 2 and they give an answer, or a Delegation must be put in place so you can provide the answer.

I hope that makes sense!

Chris

 

by: SrikantRajeevPosted on 2009-07-23 at 01:56:07ID: 24923010

Chris thanks for the detailed reply.
I am getting the concept now..

My ISP 2 says they will be providing delegation.So in this case I will be providing the answer.
I hope my understanding is right. For this the changes will be done at ISP2 side.

My side will be making the PTR entry as x.x.x.rev
in that file I will be making the entry of the  ISP2 network.
Ex -

; PTR records
;
165            IN      PTR      abc.xyz.com
166            IN      PTR      def.xyz.com


 

by: Chris-DentPosted on 2009-07-23 at 02:06:49ID: 24923070


That looks good. Just don't forget to terminate names with "." or the zone name will be appended :)

Chris

 

by: SrikantRajeevPosted on 2009-07-23 at 04:20:58ID: 24923791

Rajeev -
[I tried the NS lookup on my ISP DNS server & it returned the required lookup.

But when i did the same in my DNS server it replied that Query refused.]

Chris
[Does your DNS server allow recursive queries? If it doesn't then it would explain why it's refused. It would also suggest that there's no problem (as such).]

Rajeev
I got the reply from my vendor that my DNS  restricts recursion query.
I am not able to understand why recursion query will not give the required lookup.

 

by: SrikantRajeevPosted on 2009-08-23 at 19:34:09ID: 25165311

thanks

 

by: SrikantRajeevPosted on 2009-08-25 at 16:49:38ID: 31604124

Thanks Chris

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...