My Domain: `hostname -d` vs `domain=`
On testlab-ec.inflab
, the correct domain for considering what local config should be used is not inflab.tuwien.ac.at
but testlab.loc
.
On possible way would be to first check for a dnsmasq config and getting the domain from there:
[root@testlab-ec.inflab ~]# cat /etc/dnsmasq.d/dns.conf
domain=testlab.loc