X-Mailer: MIME-tools 5.508 (Entity 5.508) Content-Type: text/plain; charset="utf-8" In-Reply-To: MIME-Version: 1.0 X-RT-Interface: Web Content-Disposition: inline Message-ID: References: X-RT-Original-Encoding: utf-8 Content-Transfer-Encoding: binary RT-Send-CC: Content-Length: 1036 This one is a simple one. We failed to skip the A record for the host with -6. It would also fail with -4. Thanks. Now for review. diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c index c922cf9765..a13a38ad04 100644 --- a/bin/nsupdate/nsupdate.c +++ b/bin/nsupdate/nsupdate.c @@ -944,11 +944,15 @@ setup_system(void) { case AF_INET: if (have_ipv4) { sa->type.sin.sin_port = htons(dnsport); + } else { + continue; } break; case AF_INET6: if (have_ipv6) { sa->type.sin6.sin6_port = htons(dnsport); + } else { + continue; } break; default: