Certainly doable. I have had this running for some years now. I also have mail.myself.dk resolving to an internal address if I am on my internal network and to an external address if I am outside my network.
I use bind with two views and dhcpd for internal addresses updating one view. Setup was almost automatic. JeffH wrote: > Sorry if this is drifting a little from the group topic – if you know > of a better place to post this question, please let me know. > > I’m trying to configure a small DHCP internal network, connected to a > router connected to the internet. I want it so that internally, all > DHCP systems are able to resolve fully qualified names of other > systems. Clients are all DHCP, server(s) is static IPv4. DNS resolves > both internal client to client as well as client to internet. So a > ping to machine4.myco.com resolves and a ping to www.yahoo.com > resolves. No WINS server. Main server is an Archlinux box and has > BIND9 on it, simple DHCP is currently handled by the router. > > 1) Is this doable? I have already setup BIND9 to resolve to the > internet (seems to work), but not sure how to do the internal piece. > Also currently having the router do DHCP, but I’m guessing I’ll have > to move that to the Linux box to make it all work. > 2) Assuming this is doable (I am assuming it is) > a. Do I need DHCP served from the Archlinux box? What package has > the needed features? Or can I get away with keeping it on the router? > b. What do I need to do to get DNS working the way I want > (resolving both internal and external names)? Where does it pull the > information about the internal systems? My assumption here is that > since DNS needs to get the names for the internal systems from > somewhere other than a host file, it has to be sent to it from the > client somehow – either by way of DHCP or maybe there is some initial > DNS handshake it does (probably not… just taking a stab). I’m not > looking for anyone to tell me what to specifically put in my config > files, but more what exactly the specific terminology is for the setup > I’m using (example: “Oh, you need a Caching DNS with forwards set, and > a dynamic DHCP setup to point to the DNS. Along with BIND9 you could > use FooBarDHCP to do the job, just make sure to set your DNS in the > FooBarDHCP.conf file”). > I realize that once I have that information I still have a lot of > reading to do to get it setup right, but I just want to know enough to > know what to read at this point. > > Thanks, > -Jeff > _______________________________________________ > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users > -- Best regards Sten Carlsen No improvements come from shouting: "MALE BOVINE MANURE!!!" _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users