1 /* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * SPDX-License-Identifier: MPL-2.0 5 * 6 * This Source Code Form is subject to the terms of the Mozilla Public 7 * License, v. 2.0. If a copy of the MPL was not distributed with this 8 * file, you can obtain one at https://mozilla.org/MPL/2.0/. 9 * 10 * See the COPYRIGHT file distributed with this work for additional 11 * information regarding copyright ownership. 12 */ 13 14 #ifndef DNS_EDNS_H 15 #define DNS_EDNS_H 1 16 17 /*% 18 * The maximum version on EDNS supported by this build. 19 */ 20 #define DNS_EDNS_VERSION 0 21 #ifdef DRAFT_ANDREWS_EDNS1 22 #undef DNS_EDNS_VERSION 23 /* 24 * Warning: this currently disables sending COOKIE requests in resolver.c 25 */ 26 #define DNS_EDNS_VERSION 1 /* draft-andrews-edns1 */ 27 #endif /* ifdef DRAFT_ANDREWS_EDNS1 */ 28 29 #endif /* ifndef DNS_EDNS_H */ 30