FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14201 questions

16856 answers

27732 comments

54308 members

0 votes
57 views 2 comments
by

Is it possible to add an entry to dnsmasq on the RUTX11 so that any shortname is suffixed?
Our clients are at the end of a Sophos XG Openvpn and although we can push our AD DNS servers to the clients, the XG firewall doesn't resolve the shortnames due to the way DNS has been setup. So we need any shortnames to be converted to the FQDN for the XG to request the DNS routing 

I'm sure on dnsmasq you can do something like:

expand-hosts
domain=mydomain.com
If this can be achieved, could the trobleshooting nslookup allow shortnames in order to test?

1 Answer

0 votes
by

Hello,

Check /etc/config/dhcp section "config dnsmasq" and add:

  • option expandhosts '1'
  • option domain 'yourdomain.com'

and execute /etc/init.d/dnsmasq restart

nslookup shortname should then work fine.

Regards,

Best answer
by
Brill.... thank you very much. Great support!
by
Oops sorry for the typo: expandhosts not expandhsts