Code: Select all
name="example.com" type=A address=10.10.10.10 ttl=1d match-subdomain=yes
Code: Select all
:put [:resolve domain-name=test.example.com]`
10.10.10.10
But when I use a FWD-entry, because I want some other nameserver to handle a specific domain, it does not work:
Code: Select all
name="example.com" type=FWD forward-to=10.23.45.10 ttl=1d match-subdomain=yes
Code: Select all
:put [:resolve domain-name=foo.example.com]
failure: dns name does not exist
Code: Select all
:put [:resolve domain-name=foo.example.com server=10.23.45.10]
10.23.45.16
ROS: 7.8