[Dnsmasq-discuss] DNS configuration
Glandvador
glandvador at yahoo.com
Sun Oct 3 17:54:28 BST 2010
On 02.10.2010 09:55, Simon Kelley wrote:
> On 02/10/10 08:20, Gland Vador wrote:
>> On 30.09.2010 14:11, Simon Kelley wrote:
>>> Glandvador wrote:
>>>> Hi all,
>>>>
>>>> <snip some questions>
>>>
>>> You need something like this in /etc/dnsmasq.conf
>>>
>>> local=mydomain.com
>>> server=/someotherhost.mydomain.com/#
>>>
>>> and put
>>>
>>> 192.168.10.1 mydomain.com
>>> 192.168.10.2 host1.mydomain.com
>>> 192.168.10.3 host2.mydomain.com
>>>
>>> in /etc/hosts
>>>
>> <some more questions>
>
> I like it when we've already solved these complex problems ;-) The
> magic you need is
>
> localise-queries
>
> but again, you'll need to put the addresses in /etc/hosts on the
> machine running dnsmasq and remove the address=lines.
>
Hmm, that worked as told... Very disappointing :)
The only thing I had to do was to also convert all the "cname="
statements (in addition to address ones) to entries in /etc/hosts. Is
this right?
BTW, thanks you, Simon, for your help.
Glandvador.
More information about the Dnsmasq-discuss
mailing list