yes off course, Also i want to know WHY
but I'm not expert. I will try figure out the answer
... I got the next register using dig and nslookup command
USING DNS of DHCP LEASE like 192.168.1.1
root@openwrt:~# nslookup google.com
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost
nslookup: can't resolve 'google.com': Name or service not known
root@openwrt:~# logread -f
Thu Jul 13 18:21:03 2017 daemon.info dnsmasq[2514]: query[AAAA] google.com from 127.0.0.1
Thu Jul 13 18:21:03 2017 daemon.info dnsmasq[2514]: forwarded google.com to 172.18.254.37
Thu Jul 13 18:21:03 2017 daemon.warn dnsmasq[2514]: nameserver 172.18.254.37 refused to do a recursive query
Thu Jul 13 18:21:03 2017 daemon.info dnsmasq[2514]: reply google.com is NODATA-IPv6
Thu Jul 13 18:21:03 2017 daemon.info dnsmasq[2514]: query[A] google.com from 127.0.0.1
Thu Jul 13 18:21:03 2017 daemon.info dnsmasq[2514]: forwarded google.com to 172.18.254.37
Thu Jul 13 18:21:04 2017 daemon.warn dnsmasq[2514]: possible DNS-rebind attack detected: google.com
-----------------------------------------------------------------------------------------------------------
artg@debian:~$ dig google.com
; <<>> DiG 9.9.5-9+deb8u12-Debian <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14781
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com. IN A
;; Query time: 810 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Jul 14 11:42:58 XXX 2017
;; MSG SIZE rcvd: 39
-----------------------------------------------------------------------------------------------------------
C:\Users\artg>nslookup google.com
Servidor: openwrt.lan
Address: 192.168.1.1
*** No hay registros internal type for both IPv4 and IPv6 Addresses (A+AAAA) disponibles para google.com
USING DNS of DHCP LEASE like 172.18.254.37
root@openwrt:~# nslookup google.com
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost
nslookup: can't resolve 'google.com': Name or service not known
-----------------------------------------------------------------------------------------------------------
root@openwrt:~# logread -f
Thu Jul 13 18:28:36 2017 daemon.info dnsmasq[2857]: query[AAAA] google.com from 127.0.0.1
Thu Jul 13 18:28:36 2017 daemon.info dnsmasq[2857]: forwarded google.com to 172.18.254.37
Thu Jul 13 18:28:36 2017 daemon.warn dnsmasq[2857]: nameserver 172.18.254.37 refused to do a recursive query
Thu Jul 13 18:28:36 2017 daemon.info dnsmasq[2857]: reply google.com is NODATA-IPv6
Thu Jul 13 18:28:36 2017 daemon.info dnsmasq[2857]: query[A] google.com from 127.0.0.1
Thu Jul 13 18:28:36 2017 daemon.info dnsmasq[2857]: forwarded google.com to 172.18.254.37
Thu Jul 13 18:28:36 2017 daemon.warn dnsmasq[2857]: possible DNS-rebind attack detected: google.com
-----------------------------------------------------------------------------------------------------------
artg@debian:~$ dig google.com
; <<>> DiG 9.9.5-9+deb8u12-Debian <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56325
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 10800 IN A 172.29.220.8
;; AUTHORITY SECTION:
. 10800 IN NS 172.18.254.37.
;; ADDITIONAL SECTION:
172.18.254.37. 10800 IN A 172.29.220.8
;; Query time: 2141 msec
;; SERVER: 172.18.254.37#53(172.18.254.37)
;; WHEN: Fri Jul 14 11:48:38 XXX 2017
;; MSG SIZE rcvd: 97
-----------------------------------------------------------------------------------------------------------
C:\Users\artg>nslookup google.com
Servidor: UnKnown
Address: 172.18.254.37
Nombre: google.com.lan
Address: 172.29.220.8
3G interface
Network
IPv4 WAN Status
3g-3g Type: 3g
Address: 10.28.XXX.7
Netmask: 255.255.255.255
Gateway: 10.64.XX.6X
DNS 1: 172.18.254.37
Connected: 0h 22m 7s
Conclusion, the forwarded dns queries using router never will get answer AND the direct query to DNS of ISP from client device always will translate all domains like 172.29.220.8 (site to buy extra data plan, I think)
But I dont know more about DNS or what there is inside of package sended to filter queries, I'm sorry.
(Last edited by jxtrem on 14 Jul 2017, 16:36)