; config options server: edns-client-string: 10.0.0.0/24 "abc d" edns-client-string: 10.0.0.10/32 "123AbC!" stub-zone: name: "edns-string-abc." stub-addr: 10.0.0.1 stub-zone: name: "edns-string-123." stub-addr: 10.0.0.10 stub-zone: name: "notag." stub-addr: 10.10.0.1 CONFIG_END SCENARIO_BEGIN Test EDNS string tag option RANGE_BEGIN 0 1000 ADDRESS 10.0.0.1 ENTRY_BEGIN MATCH opcode qtype qname ADJUST copy_id REPLY QR NOERROR SECTION QUESTION edns-string-abc. IN A SECTION ANSWER edns-string-abc. IN A 10.20.30.40 SECTION ADDITIONAL ENTRY_END RANGE_END RANGE_BEGIN 0 1000 ADDRESS 10.0.0.10 ENTRY_BEGIN MATCH opcode qtype qname ADJUST copy_id REPLY QR NOERROR SECTION QUESTION edns-string-123. IN A SECTION ANSWER edns-string-123. IN A 10.20.30.40 SECTION ADDITIONAL ENTRY_END RANGE_END RANGE_BEGIN 0 1000 ADDRESS 10.10.0.1 ENTRY_BEGIN MATCH opcode qtype qname ADJUST copy_id REPLY QR NOERROR SECTION QUESTION notag. IN A SECTION ANSWER notag. IN A 10.20.30.40 SECTION ADDITIONAL ENTRY_END RANGE_END STEP 10 QUERY ENTRY_BEGIN REPLY RD SECTION QUESTION edns-string-abc. IN A ENTRY_END STEP 20 CHECK_OUT_QUERY ENTRY_BEGIN MATCH qname qtype opcode ednsdata SECTION QUESTION edns-string-abc. IN A SECTION ADDITIONAL HEX_EDNSDATA_BEGIN fd e9 ; Opcode 65001 00 05 ; Length 5 61 62 63 20 64 ; "abc d" HEX_EDNSDATA_END ENTRY_END STEP 30 CHECK_ANSWER ENTRY_BEGIN MATCH all REPLY QR RD RA NOERROR SECTION QUESTION edns-string-abc. IN A SECTION ANSWER edns-string-abc. IN A 10.20.30.40 ENTRY_END STEP 110 QUERY ENTRY_BEGIN REPLY RD SECTION QUESTION edns-string-123. IN A ENTRY_END STEP 120 CHECK_OUT_QUERY ENTRY_BEGIN MATCH qname qtype opcode ednsdata SECTION QUESTION edns-string-123. IN A SECTION ADDITIONAL HEX_EDNSDATA_BEGIN fd e9 ; Opcode 65001 00 07 ; Length 7 31 32 33 41 62 ; "123Ab" 43 21 ; "C!" HEX_EDNSDATA_END ENTRY_END STEP 130 CHECK_ANSWER ENTRY_BEGIN MATCH all REPLY QR RD RA NOERROR SECTION QUESTION edns-string-123. IN A SECTION ANSWER edns-string-123. IN A 10.20.30.40 ENTRY_END STEP 210 QUERY ENTRY_BEGIN REPLY RD SECTION QUESTION notag. IN A ENTRY_END STEP 220 CHECK_OUT_QUERY ENTRY_BEGIN MATCH qname qtype opcode ednsdata SECTION QUESTION notag. IN A SECTION ADDITIONAL HEX_EDNSDATA_BEGIN HEX_EDNSDATA_END ENTRY_END STEP 230 CHECK_ANSWER ENTRY_BEGIN MATCH all REPLY QR RD RA NOERROR SECTION QUESTION notag. IN A SECTION ANSWER notag. IN A 10.20.30.40 ENTRY_END SCENARIO_END