Circular DNS

Hi,

I have a domain registered with enom.
mydomain.me

I want to use GeoIP to send requests to different servers depending on the request's origin. That was the easy part, I've set up 2 computers with BIND, created the proper zones, I get the expected results when using dig.

Now I need to change the DNS servers at the registrar.
And I'm in a catch 22: ns1.mydomain.me and ns2.mydomain.me IP's are defined in the zone files on my server.
So a query searching for mydomain.me will have to find ns1.mydomain.me first...

How can I solve this?

LE: looks like I need a "glue record". Where can I set/request that?
LVL 35
Dan CraciunIT ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

unrealized92Commented:
You need to use Anycast IP Addresses.  Most providers / ISP don't offer this so your best bet would be to use a paid geoip dns service.
Dan CraciunIT ConsultantAuthor Commented:
OK. Looks like I was not clear enough: I solved the GeoIP part.

Now I just need the NS records to point to my servers...
unrealized92Commented:
You would set this up with your domain registrar - enom.

I'm not sure how it works with them but on godaddy and namecheap, they're called registered nameservers or hosts

http://www.enom.com/help/faq_dns.asp

Check out the section: Can I have my NameServers registered?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
unrealized92Commented:
Also once you have that completed, you need to set your nameservers of your domain to: ns1.mydomain.me and ns2.mydomain.me
Dan CraciunIT ConsultantAuthor Commented:
I had to register the DNS servers with the reseller for enom from where I bought the domain.

Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.