Re: [gentoo-user] resolving names of local hosts locally

2015-12-16 Thread Tom H
On Wed, Dec 16, 2015 at 1:52 PM, Rich Freeman wrote: > On Wed, Dec 16, 2015 at 4:26 AM, Alan McKinnon > wrote: >> >> Solution: obey best practice. Never run auth and cache on the same >> address. On the same machine is fine, they are different daemons.

Re: [gentoo-user] resolving names of local hosts locally

2015-12-16 Thread Rich Freeman
On Wed, Dec 16, 2015 at 4:26 AM, Alan McKinnon wrote: > > Solution: obey best practice. Never run auth and cache on the same > address. On the same machine is fine, they are different daemons. > Which one listens on port 53? Also, how do you point the caching daemon at

Re: [gentoo-user] resolving names of local hosts locally

2015-12-16 Thread Alan McKinnon
On 16/12/2015 14:52, Rich Freeman wrote: > On Wed, Dec 16, 2015 at 4:26 AM, Alan McKinnon > wrote: >> >> Solution: obey best practice. Never run auth and cache on the same >> address. On the same machine is fine, they are different daemons. >> > > Which one listens on

Re: [gentoo-user] resolving names of local hosts locally

2015-12-16 Thread Tom H
On Wed, Dec 16, 2015 at 4:01 AM, Adam Carter wrote: >> >> There are several problems with your idea. First, the configured >> >> namservers in resolv.conf are caching servers, not authoritative >> servers. You never configure an auth server to act as a cache. Yes, it >> can

Re: [gentoo-user] resolving names of local hosts locally

2015-12-16 Thread Alan McKinnon
On 16/12/2015 11:09, Tom H wrote: > On Wed, Dec 16, 2015 at 4:01 AM, Adam Carter wrote: >>> >>> There are several problems with your idea. First, the configured >>> >>> namservers in resolv.conf are caching servers, not authoritative >>> servers. You never configure an auth

Re: [gentoo-user] resolving names of local hosts locally

2015-12-16 Thread Alan McKinnon
On 16/12/2015 05:01, Adam Carter wrote: > There are several problems with your idea. First, the configured > > namservers in resolv.conf are caching servers, not authoritative > servers. You never configure an auth server to act as a cache. Yes, it > can be done. No, it's an awful

Re: [gentoo-user] resolving names of local hosts locally

2015-12-15 Thread Adam Carter
There are several problems with your idea. First, the configured > namservers in resolv.conf are caching servers, not authoritative > servers. You never configure an auth server to act as a cache. Yes, it > can be done. No, it's an awful idea and things break horribly. > > Hi Alan, What breaks

Re: [gentoo-user] resolving names of local hosts locally

2015-12-04 Thread Peter Humphrey
On Thursday 03 December 2015 23:01:27 lee wrote: > Peter Humphrey writes: > > Have you looked into net-dns/dnsmasq? > > "Small forwarding DNS server"? Why would I want a forwarding one? Because it only forwards queries that it can't answer itself - see lines 72 - 74 in

Re: [gentoo-user] resolving names of local hosts locally

2015-12-03 Thread Peter Humphrey
On Wednesday 02 December 2015 20:37:34 lee wrote: > Hi, > > is there a way to configure bind so that the names of local hosts, > i. e. the ones bind is authoritative for, can be resolved without a > connection to the internet? > > I don't like it at all that when the internet connection goes

Re: [gentoo-user] resolving names of local hosts locally

2015-12-03 Thread lee
Peter Humphrey writes: > On Wednesday 02 December 2015 20:37:34 lee wrote: >> Hi, >> >> is there a way to configure bind so that the names of local hosts, >> i. e. the ones bind is authoritative for, can be resolved without a >> connection to the internet? >> >> I don't

Re: [gentoo-user] resolving names of local hosts locally

2015-12-03 Thread Alec Ten Harmsel
On 2015-12-03 17:20, lee wrote: Alan McKinnon writes: Secondly, nothing else on your network can know your auth server is authoritative without first being informed so by the delegating server. The name server itself knows this from its configuration, and it's the

Re: [gentoo-user] resolving names of local hosts locally

2015-12-03 Thread lee
Alan McKinnon writes: > On 02/12/2015 21:37, lee wrote: >> Hi, >> >> is there a way to configure bind so that the names of local hosts, >> i. e. the ones bind is authoritative for, can be resolved without a >> connection to the internet? >> >> I don't like it at all

Re: [gentoo-user] resolving names of local hosts locally

2015-12-03 Thread waltdnes
On Thu, Dec 03, 2015 at 11:20:57PM +0100, lee wrote > Then how do you solve the problem of being unable to even resolve the > names of hosts on the LAN when the connection goes down? Do the machines on the LAN have static IP addresses? If so, try hosts files on the LAN machines (No, my

Re: [gentoo-user] resolving names of local hosts locally

2015-12-02 Thread Alan McKinnon
On 02/12/2015 21:37, lee wrote: > Hi, > > is there a way to configure bind so that the names of local hosts, > i. e. the ones bind is authoritative for, can be resolved without a > connection to the internet? > > I don't like it at all that when the internet connection goes out, no > name

Re: [gentoo-user] resolving names of local hosts locally

2015-12-02 Thread Mike Gilbert
On Wed, Dec 2, 2015 at 2:52 PM, Alan McKinnon wrote: > On 02/12/2015 21:37, lee wrote: >> Hi, >> >> is there a way to configure bind so that the names of local hosts, >> i. e. the ones bind is authoritative for, can be resolved without a >> connection to the internet? I