#########################################
# dns_default_ip
#
# Default IP address to return with DNS replies
#
# Syntax: dns_default_ip <IP address>
#
# Default: 127.0.0.1
#
dns_default_ip 192.168.174.137
$ dig @192.168.174.137 ya.ru
; <<>> DiG 9.11.5-P4-5.1+deb10u5-Debian <<>> @192.168.174.137 ya.ru
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39101
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;ya.ru. IN A
;; ANSWER SECTION:
ya.ru. 3600 IN A 127.0.0.1
;; Query time: 143 msec
;; SERVER: 192.168.174.137#53(192.168.174.137)
;; WHEN: Tue Feb 22 17:22:12 MSK 2022
;; MSG SIZE rcvd: 39
[2022-02-22 09:24:20] [1530] [dns_53_tcp_udp 1534] [192.168.174.1] connect
[2022-02-22 09:24:20] [1530] [dns_53_tcp_udp 1534] [192.168.174.1] recv: Query Type A, Class IN, Name ya.ru
[2022-02-22 09:24:20] [1530] [dns_53_tcp_udp 1534] [192.168.174.1] send: ya.ru 3600 IN A 127.0.0.1
[2022-02-22 09:24:20] [1530] [dns_53_tcp_udp 1534] [192.168.174.1] disconnect
[2022-02-22 09:24:20] [1530] [dns_53_tcp_udp 1534] [192.168.174.1] stat: 1 qtype=A qclass=IN qname=ya.ru