Commit e6191b21 authored by Grigorii Demidov's avatar Grigorii Demidov

kresd static hint test was added

parent d11732d9
; config options
stub-addr: 193.0.14.129 # K.ROOT-SERVERS.NET.
features: static_hint_name = www.nic.cz
features: static_hint_addr = 1.2.3.4
CONFIG_END
SCENARIO_BEGIN Simple static hint test
STEP 10 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
www.nic.cz. IN A
ENTRY_END
STEP 20 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA NOERROR
SECTION QUESTION
www.nic.cz. IN A
SECTION ANSWER
www.nic.cz. IN A 1.2.3.4
ENTRY_END
STEP 30 QUERY
ENTRY_BEGIN
REPLY RD
SECTION QUESTION
4.3.2.1.in-addr.arpa. IN PTR
ENTRY_END
STEP 20 CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR RD RA NOERROR
SECTION QUESTION
4.3.2.1.in-addr.arpa. IN PTR
SECTION ANSWER
4.3.2.1.in-addr.arpa. IN PTR www.nic.cz
ENTRY_END
SCENARIO_END
......@@ -5,12 +5,20 @@ hints.root({['k.root-servers.net'] = '{{ROOT_ADDR}}'})
option('NO_MINIMIZE', {{NO_MINIMIZE}})
option('ALLOW_LOCAL', false)
trust_anchors.add('{{TRUST_ANCHOR}}')
{% if FEATURES.dns64 is defined %}
modules.load( 'dns64')
{% if FEATURES.dns64_prefix is defined %}
dns64.config('{{FEATURES.dns64_prefix}}')
{% endif %}
{% endif %}
{% if FEATURES.static_hint_name is defined %}
{% if FEATURES.static_hint_addr is defined %}
hints['{{FEATURES.static_hint_name}}'] = '{{FEATURES.static_hint_addr}}'
{% endif %}
{% endif %}
verbose(true)
-- Self-checks on globals
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment