Skip to content

Commit

Permalink
Default to check-names for safety.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoulasc committed Apr 30, 2021
1 parent e650fc3 commit e54a053
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/resolv.h
@@ -1,4 +1,4 @@
/* $NetBSD: resolv.h,v 1.40 2012/11/07 15:45:24 christos Exp $ */
/* $NetBSD: resolv.h,v 1.41 2021/04/30 16:07:49 christos Exp $ */

/*
* Portions Copyright (C) 2004, 2005, 2008, 2009 Internet Systems Consortium, Inc. ("ISC")
Expand Down Expand Up @@ -257,7 +257,7 @@ union res_sockaddr_union {
#define RES_NO_NIBBLE2 0x80000000 /*%< disable alternate nibble lookup */

#define RES_DEFAULT (RES_RECURSE | RES_DEFNAMES | \
RES_DNSRCH | RES_NO_NIBBLE2 | RES_NOCHECKNAME)
RES_DNSRCH | RES_NO_NIBBLE2)

/*%
* Resolver "pfcode" values. Used by dig.
Expand Down

0 comments on commit e54a053

Please sign in to comment.