[Dnsmasq-discuss] Obtain IP from DHCP sever but set DNS servers statically with dnsmasq.
hongyi.zhao at gmail.com
Wed Nov 27 10:26:26 GMT 2019
I use ubuntu 19.10, and the default network settings is using dhcp.
The info is as follows:
enp2s0: connected to Wired connection 1
ethernet (r8169), 30:9C:23:2E:1A:E5, hw, mtu 1500
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
However, I want to set one locally dns server which listening on
127.0.0.1:53, and at the same time using the dhcp method to obtain ip
for my case.
How to do this job with dnsmasq?
Thanks in advance.
Hongsheng Zhao <hongyi.zhao at gmail.com>
Institute of Semiconductors, Chinese Academy of Sciences
GnuPG DSA: 0xD108493
More information about the Dnsmasq-discuss