Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
COREDNS-HEADER(7)		CoreDNS	Plugins		     COREDNS-HEADER(7)

NAME
       header -	modifies the header for	responses.

DESCRIPTION
       header  ensures	that the flags are in the desired state	for responses.
       The modifications are made transparently	for the	client.

SYNTAX
	      header {
		  ACTION FLAGS...
		  ACTION FLAGS...
	      }

          ACTION defines the state for	DNS message header flags. Actions  are
	   evaluated  in  the  order they are defined so last one has the most
	   precedence. Allowed values are:

	   -   set

	   -   clear

          FLAGS are the DNS header flags that will be modified. Current  sup-
	   ported flags	include:

	   -   aa - Authoritative(Answer)

	   -   ra - RecursionAvailable

	   -   rd - RecursionDesired

EXAMPLES
       Make sure recursive available ra	flag is	set in all the responses:

	      .	{
		  header {
		      set ra
		  }
	      }

       Make  sure "recursion available"	ra and "authoritative answer" aa flags
       are set and "recursion desired" is cleared in all responses:

	      .	{
		  header {
		      set ra aa
		      clear rd
		  }
	      }

CoreDNS				   July	2021		     COREDNS-HEADER(7)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=coredns-header&sektion=7&manpath=FreeBSD+Ports+14.3.quarterly>

home | help