DHCP not resolving local domains

my local dns names are not being resolved.

what configuration files do I need to post here so that someone can have a look at it please?

config dnsmasq
        option domainneeded '1'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option cachesize '0'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option localservice '1'
        option ednspacket_max '1232'
        option noresolv '1'
        list server '127.0.0.53'
        option authoritative '1'
        list address '/router.lan/192.168.10.1'
        list address '/cabrerard.lan/192.168.10.100'
        list address '/router.local/192.168.10.1'

config dhcp 'lan'
        option interface 'lan'
        option start '120'
        option limit '170'
        option leasetime '10m'
        option dhcpv4 'server'
        option dhcpv6 'hybrid'
        option ra 'hybrid'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'

dnsproxy and fwknopd is installled. they have changed some settings but I am not sure if it has ever worked.

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'f::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth1.1'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '1'
        option netmask '2'
        list ip6class 'local'

config interface 'wan'
        option device 'eth0.2'
        option proto 'dhcp'
        option peerdns '0'
        list dns '2'
        list dns '2'
        list dns '2
        list dns '2'
        option hostname '*'

config interface 'wan6'
        option device 'eth0.2'
        option proto 'dhcpv6'
        option reqaddress 'try'
        option reqprefix 'auto'
        option peerdns '0'
        list dns '2'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '6t 4 3 2 1'
        option vid '1'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '0t 5'
        option vid '2'

Limit of 170 means 120 plus 170 equals 290, which is not a valid end address. Maybe you want 50 addresses?

What is this? 1 and 2? You don’t need to hide internal addresses.

1 Like