Am 16.07.2014 04:55, schrieb Mark Andrews: > In message <53c5e714.5080...@thelounge.net>, Reindl Harald writes: >>> Can the LDNS return 10.10.10.1 defined in the /etc/hosts to the >>> client? >>> maybe some special configuration in named can support this feature >> >> wrong tool - > dnsmasq can but on the other hand has no bind-like >> zonefiles > > Neither dnsmasq nor named read /etc/hosts. Both can be used to > override data from outside. They just have different configuration > methods
surely, otherwise "--no-hosts" or the config param to disable that would not make sense, using it with ATS in production [root@localhost:~]$ dnsmasq --help | grep no-hosts -h, --no-hosts Do NOT load /etc/hosts file. -H, --addn-hosts=<file> Additional hosts file. Read the specified file as well as /etc/hosts. If -h is given, read only the specified file. This option may be repeated for more than one additional hosts file. If a directory is given, then read all the files contained in that directory. [root@localhost:~]$ cat /etc/dnsmasq.conf resolv-file=/etc/resolv.conf.dnsmasq strict-order user=nobody group=nobody interface=lo no-dhcp-interface=lo bind-interfaces no-hosts addn-hosts=/etc/hosts.dnsmasq local-ttl=3600
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users