[master] 808be2b0c bring back "feature dns" after the canary has fallen over

Nils Goroll nils.goroll at uplex.de
Mon Dec 16 11:19:06 UTC 2019


commit 808be2b0c1c30f347605cdfd81f25b160b38043f
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Dec 16 12:13:57 2019 +0100

    bring back "feature dns" after the canary has fallen over
    
    $ nslookup dns-canary.freebsd.dk
    
    Non-authoritative answer:
    *** Can't find dns-canary.freebsd.dk: No answer
    
    if anyone has a more reliable server to test, please just change it
    again.

diff --git a/bin/varnishtest/vtc_misc.c b/bin/varnishtest/vtc_misc.c
index d49388352..1bd6b88a8 100644
--- a/bin/varnishtest/vtc_misc.c
+++ b/bin/varnishtest/vtc_misc.c
@@ -352,13 +352,13 @@ dns_works(void)
 	char abuf[VTCP_ADDRBUFSIZE];
 	char pbuf[VTCP_PORTBUFSIZE];
 
-	sa = VSS_ResolveOne(NULL, "dns-canary.freebsd.dk", NULL,
-	    AF_UNSPEC, SOCK_STREAM, 0);
+	sa = VSS_ResolveOne(NULL, "varnish.org", NULL,
+	    AF_INET, SOCK_STREAM, 0);
 	if (sa == NULL)
 		return (0);
 	VTCP_name(sa, abuf, sizeof abuf, pbuf, sizeof pbuf);
 	free(sa);
-	if (strcmp(abuf, "192.0.2.255"))
+	if (strcmp(abuf, "176.58.90.154"))
 		return (0);
 
 	sa = VSS_ResolveOne(NULL, "varnish.org", NULL,


More information about the varnish-commit mailing list