Hi,
I have configured 2 local networks in vyos: LAN + DMZ.
Question:
Dnsmasq normally work when using it for local name resolution.
One must maintain /etc/hosts
at least.
Should this work with dnsmasq in vyos, too?
I tried to add entries in /etc/hosts
, but local name resolution fails.
Any advise?
THX
syncer
October 9, 2018, 7:16am
2
You can use static host mapping
set system static-host-mapping host-name example.com inet 127.0.0.1
Thanks.
Is this command set system static-host-mapping host-name example.com inet 127.0.0.1
required to enable static host mapping and I must maintain /etc/hosts additionally?
Or must I execute this command for every single hostname + IP?
syncer
October 9, 2018, 8:09am
4
how about to try yourself?
This is a productive router that I don’t want to mess up with some try&error procedures.
syncer
October 9, 2018, 8:22am
6
do vm and you cann mess up there without limits
system
Closed
October 11, 2018, 8:22am
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.