Create and manage child name servers (glue records) within my domain?

Posted by basilmir on Server Fault See other posts from Server Fault or by basilmir
Published on 2011-02-12T22:49:09Z Indexed on 2011/02/12 23:27 UTC
Read the original article Hit count: 228

Filed under:
|
|

Preface I use a top level domain provider that only allows me to add "normal" third-party name servers (a list where i can add "ns1.hostingcompany.com" type entries... nothing else) AND "child name servers" which i can later attach to my parent account ( ns1.myowndomain.com and an ip address). They do not provide other means of linking up.

I want to host my own server and dns, even with just one name server (at first).

My setup:

Airport Extreme - get's a static ip address from my ISP

Mac Mini Server - sits behind the Airport and get's a 10.0.1.2

My problem is that i can't seem to configure DNS correctly. I added a "child nameserver" with my airport's external static ip address at the top level provider, so to my understanding i should have all DNS traffic redirected to my Airport. I've opened port 53 UDP to let the traffic in.

Now, what i don't get is this. My Mini Server is sitting on a 10.0.1.2 address and i have setup dns correctly, with an A record to point and resolve my server AND a reverse lookup to that 10.0.1.2. So it's ok for "internal stuff".

Here is the clicker... How, when a request comes from the exterior for a reverse lookup, does the server "know" ... well look i have everything in 10.0.1.2 but the guy outside needs something from my real address.

I can't begin to describe the MX record bonanza...

How do i set this "right"? Do i "need" my Mini Server to sit on the external address directly (i can see how this could be the preferred solution, being close to a "real" server i have in my mind). If not... do i need a PTR record on the 10.0.1.2 server but with the external address in there?

My dream: I will extend this "setup" with multiple Mini's in different cities where i work. I want a distributed something (Xgrid comes to mind).

PS. Be gentle, i've read 2 books and the subject, and bought both the Lynda Essentials and DNS and Networking to boot, still i'm far from being on top of things.

© Server Fault or respective owner

Related posts about dns

Related posts about macosxserver