[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Simon Williams wrote: > > I can't turn off the DHCP and DNS server on the router, because at any > given point in time I might break my server, and the rest of my family > needs internet access. If it isn't on 24x7 it might not make much sense to run Postfix on it, but guess that depends what Postfix is used for. > This is fine, except that the DNS server on the router is a bit broken > and postfix doesn't like it. Define broken. Postfix will work with standards compliant DNS servers. > So my server has to use it's own DNS. Which > leads to a problem. The hostnames which get added dynamically by the > router do not show up on the server. > > This leaves a few possible solutions: > 1. Somehow convince the router to update the server's DNS with dynamic > leases (I don't think this is possible). Maybe possible but hard work. > 2. Turn on both the server's and the router's DHCP servers, but make the > servers DHCP override the router's if it's available. Sounds very messy. > 3. Tell the server to use the router's DNS, but for local queries only. If the router puts local DNS entries in a specific zone (or zones - think forward and reverse lookup), you can forward queries for that zone on the server. > Anyone know how to do any of the above, or even if they are possible? Why does the server need the local names resolved? Could you use static IP addresses allocated using the routers DHCP service. Then just put static entries for those in the servers config (hosts file or DNS which ever is easiest). Most of our Linux servers get along just fine with no idea who the Windows clients are. Where it matters we do it statically, but that is usually a box offering a service on Windows, and so we ensure it has a static IP address.
Attachment:
signature.asc
Description: OpenPGP digital signature
-- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html