FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
217 views 2 comments
by anonymous

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 anonymous

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 anonymous
Brill.... thank you very much. Great support!
by anonymous
Oops sorry for the typo: expandhosts not expandhsts