for what it's worth, `nslookup` can also set the port for a query: dig @localhost -p 8600 mysql.service.consul nslookup -po=8600 mysql.service.consul localhost
... but both "nslookup" and "dig" come from package "dnsutils", which brings in six other packages and 512kB of diskspace for amd64 packages. Would any but the smallest of embedded systems be burdened? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to iputils in Ubuntu. https://bugs.launchpad.net/bugs/1318975 Title: /usr/bin/host utility cannot change port for DNS querires Status in iputils package in Ubuntu: Confirmed Bug description: This is not a bug report. It is request for missing feature... /usr/bin/host utility to check DNS is limited to send DNS queries to port 53. There is no option to change port for DNS queries. Other utilities, like dig, can change port. I can change DNS server but port is always 53. I found this missing feature while I was troubleshooting my DNS. My ISP is hijacking port 53 and I found I cannot use host utility to diagnose this problem... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iputils/+bug/1318975/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp