"Fossies" - the Fresh Open Source Software Archive

Member "opendnssec-2.1.4/conf/addns.xml.in" (16 May 2019, 1443 Bytes) of package /linux/misc/dns/opendnssec-2.1.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <Adapter>
    4  	<DNS>
    5 		<TSIG>
    6 			<Name>secret.example.com</Name>
    7 			<!-- http://www.iana.org/assignments/tsig-algorithm-names -->
    8 			<Algorithm>hmac-sha256</Algorithm>
    9 			<!-- base64 encoded secret -->
   10 			<Secret>sw0nMPCswVbes1tmQTm1pcMmpNRK+oGMYN+qKNR/BwQ=</Secret>
   11 		</TSIG>
   12 
   13 		<Inbound>
   14 			<!-- Address of host to request XFR from -->
   15 			<RequestTransfer>
   16 				<!-- EXAMPLE: send request to 1.2.3.4 on the default port 53 -->
   17 				<Remote>
   18 					<Address>1.2.3.4</Address>
   19 				</Remote>
   20 				<!-- EXAMPLE: send request to dead:beef::1 on port 5353, TSIG signed with secret.example.com -->
   21 				<Remote>
   22 					<Address>dead:beef::1</Address>
   23 					<Port>5353</Port>
   24 					<Key>secret.example.com</Key>
   25 				</Remote>
   26 			</RequestTransfer>
   27 
   28 			<!-- Allow NOTIFY messages from host -->
   29 			<AllowNotify>
   30 				<!-- EXAMPLE: allow notifies from 1.2.3.4 -->
   31 				<Peer>
   32 					<Prefix>1.2.3.4</Prefix>
   33 				</Peer>
   34 			</AllowNotify>
   35 		</Inbound>
   36 
   37 		<Outbound>
   38 			<!-- Provide XFR to host -->
   39 			<ProvideTransfer>
   40 				<!-- EXAMPLE: provide XFR to 1.2.3.5 with key secret.example.com -->
   41 				<Peer>
   42 					<Prefix>1.2.3.5</Prefix>
   43 					<Key>secret.example.com</Key>
   44 				</Peer>
   45 			</ProvideTransfer>
   46 	
   47 			<!-- Send NOTIFY messages to host -->
   48 			<Notify>
   49 				<!-- EXAMPLE: send NOTIFY to 1.2.3.5 on the default port 53 -->
   50 				<Remote>
   51 					<Address>1.2.3.5</Address>
   52 				</Remote>
   53 			</Notify>
   54 		</Outbound>
   55 	</DNS>
   56 </Adapter>