diff --git a/bin/named/server.c b/bin/named/server.c index 7761dd31ff..52b62da6c2 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -508,7 +508,7 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview, goto cleanup; } *sa = forwarders->ips[i]; - isc_sockaddr_setport(sa, 53); + isc_sockaddr_setport(sa, port); ISC_LINK_INIT(sa, link); ISC_LIST_APPEND(addresses, sa, link); }