[Freedombox-discuss] DNS on local network
Dieter
dieter at sarina-ist-doof.de
Thu May 25 08:31:02 UTC 2017
Hello!
Sorry for digging out this old conversation, but i found the time to
play with dnsmasq a bit.
Sunils suggestion is correct, there is one tiny problem though.
NetworkManager will start dnsmasq with this commandline:
--conf-dir=/etc/NetworkManager/dnsmasq-shared.d
So the hosts.conf has to be put in dnsmasq-shared.d.
Then the issue with ip-adresses will come up, as this file is shared
among multiple interfaces.
And i have not been able to get NetworkManager to use the wifi-card in
infrastructure mode, connecting the wired network (i.e. eth0) to the
wireless network.
Any ideas would also be appreciated!
Best wishes,
Dieter
On 03/09/16 06:11, Sunil Mohan Adapa wrote:
> On 09/02/2016 10:26 PM, Dieter wrote:
>> Hello all,
>>
>> is there a way to make freedombox respond to dns-querys for it's
>> external hostname with the internal ip-address?
>>
>> e.g. i have a box with external hostname somebox.somedyndns.ip
>>
>> If i query this hostname from the local, internal network, can i make
>> the box respond with it's ip-address of the local interface?
>>
>> Or should that already be the case, and my box is just broken? ;)
>>
>> Thank you for your help! :)
>
> One solution seems to be to add an entry 'address=/<domain>/<ipaddress>'
> in /etc/NetworkManager/dnsmasq.d/hosts.conf[1].
>
> When we have a DNS server running on FreedomBox, this is one thing that
> we can consider handling as DNS servers usually do this.
>
> Links:
>
> 1)
> https://askubuntu.com/questions/117899/configure-networkmanagers-dnsmasq-to-use-etc-hosts
>
More information about the Freedombox-discuss
mailing list