I'm using multiple virtual machines based on the same Linux image and registered their MAC-addresses, IP-addresses and hostnames in OpenWRT.
I can ping them using their hostnames, but they don't receive any hostname or domain (console: This is (none).unknown_domain (Linux x86_64...)).
Is there any DHCP- or DNSMasq-option to enable sending the hostname and domain to the clients?
Current config attached:
config 'dnsmasq'
option 'expandhosts' '1'
option 'authoritative' '1'
option 'readethers' '1'
option 'leasefile' '/tmp/dhcp.leases'
option 'resolvfile' '/tmp/resolv.conf.auto'
option 'domain' 'mydomain'
option 'local' '/mydomain/'
option 'domainneeded' '1'
option 'boguspriv' '1'
option 'localise_queries' '1'
config 'dhcp' 'lan'
option 'interface' 'lan'
option 'limit' '150'
option 'leasetime' '12h'
option 'dynamicdhcp' '1'
option 'start' '100'
config 'dhcp' 'wan'
option 'interface' 'wan'
option 'ignore' '1'
option 'dynamicdhcp' '0'