This issue was created in 2014. I just verified that "host" in Ubuntu
18.04.1 still uses hard-coded port 53; there was no progress during last
4 years. It looks like an easy change.

Some hints for an easy test. OpenDNS runs DNS server listening at port
53, 443 and 5353.

# host resolver1.opendns.com
resolver1.opendns.com has address 208.67.222.222
resolver1.opendns.com has IPv6 address 2620:119:35::35

All these commmands work (test at port 53, 443 and 5353):
# nslookup -po=53 www.ubuntu.com 208.67.222.222
# nslookup -po=443 www.ubuntu.com 208.67.222.222
# nslookup -po=5353 www.ubuntu.com 208.67.222.222

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1318975

Title:
  /usr/bin/host utility cannot change port for DNS querires

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1318975/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to