question on BIND/DNS
Jul. 26th, 2007 12:46 pmOkay... my figuring goes like this.
I have a domain out there. The domain points to an advertising page ("domain name parked at incompetentregistrar.com!").
It would seem to me that if I used that domain to set up BIND on my home network, it would have no effect on the outside world. Inside my home network, I wouldn't be able to browse to that advertising page any more, because my home's name server would point to whatever I pointed it to.
After all, it seems quite clear to me that BIND (nor Windows DNS) does not send out "HEY! I'm right here!" messages.
Um. Yeah. It does seem quite clear to me. Can anyone verify that this is, in fact, *true*? Or let me know if there's a way to set up a deliberately invalid domain to do testing of setup?
I have a domain out there. The domain points to an advertising page ("domain name parked at incompetentregistrar.com!").
It would seem to me that if I used that domain to set up BIND on my home network, it would have no effect on the outside world. Inside my home network, I wouldn't be able to browse to that advertising page any more, because my home's name server would point to whatever I pointed it to.
After all, it seems quite clear to me that BIND (nor Windows DNS) does not send out "HEY! I'm right here!" messages.
Um. Yeah. It does seem quite clear to me. Can anyone verify that this is, in fact, *true*? Or let me know if there's a way to set up a deliberately invalid domain to do testing of setup?
no subject
Date: 2007-07-26 08:00 pm (UTC)I'm afraid I'm not quite converstant enough with BIND to know if what you're proposing will do the trick.
no subject
Date: 2007-07-26 08:09 pm (UTC)DNS works (globally) like this:
root servers: these know who is authoritative for each domain
authoritative servers: these are the ones that actually know the domain-ip mapppings
caching servers: these are the servers you actually ask questions to. They don't know anything themselves, but they know how to ask root and auth servers where to find the answers, and can hold on to that information for brief periods of time, as defined by the appropriate authoritative server.
The only way to get the info in your home server out on the world is to get the root servers to point at it, and that requires a registrar of some kind to submit that request. Just setting it up does nothing to make it public.
Hope that helps.
no subject
Date: 2007-07-26 08:12 pm (UTC)(But I do like the idea of blocking advertising sites... I think I might do that.)
no subject
Date: 2007-07-26 08:17 pm (UTC)(I had this nightmare of finding out "Everyone knows that when your BIND server connects to another DNS server, it (breaks something, somehow, if your server isn't the True And Official name server)". Everyone except, you know, me. :-) )
no subject
Date: 2007-07-26 08:29 pm (UTC)(This is what I do for a living, so feel free to ping me if you need more info. *grin*)
no subject
Date: 2007-07-27 02:11 am (UTC)no subject
Date: 2007-07-28 08:25 pm (UTC)no subject
Date: 2007-08-01 07:18 pm (UTC)However... you don't have to do that to work with DNS -- just use a second-level zone and use the .local top-level domain (which is conventionally used, but is not a root-level domain). If you were to make up a domain ("jpalmer.local") and set it up on your BIND server and configure your DNS clients to search the jpalmer.local zone, you'd get all the benefits with about none of the risks....
-Bill