Unbound server to respond queries on any port other than 53

A. Schulze sca at andreasschulze.de
Sat Feb 15 17:38:37 UTC 2020



Am 15.02.20 um 16:21 schrieb Sheikh Muhammed Ayub:

keep discussion on list, please

> I have set ip-address as:
> ip-address: 192.168.64.131 at 55

first check, unbound is running and do listen for queries:

# id -u -n
root

# netstat -lnpt | grep 55
tcp        0      0 192.168.64.131:55            0.0.0.0:*               LISTEN      4711/unbound       

next: you need to adjust access-control, add "access-control: 192.168.64.131/32 allow" to your unbound.conf
and restart unbound.

That should at least allow the query above from the host itself.

man unbound.conf say: By default only localhost is allowed, the rest is refused.
... And 192.168.64.131 is not localhost ...

> root at ubuntu:/etc/unbound/unbound.conf.d# nslookup -port=55
last: please favor dig over nslookup

# dig -p 55 unbound.net. A @192.168.64.131

otherwise post unbound logs, the output of the command and your unbound.conf.

Andreas




More information about the Unbound-users mailing list