Hi,
I am trying to run a DNS server on non-standard port. for example, port 10053. I listed down the info of my testing environment below, Can someone please help to point out the uncorrect place. Thanks in advance.
In my test environment, A Windows XP as a client which is using 192.168.1.1 and DNS server's IP is 192.168.1.2. When I runs nslookup command on XP, it can send DNS request traffic to the DNS server. In order to hit the DNS server. I added one line of firewall on the DNS server. It will redirect the DNS request traffic and forwarding to 10053 port.
Here is the firewall rules on the DNS server.
And I captured the UDP traffic on the DNS server.
The Result of the nslookup command on Windows XP is "DNS Request Time Out".
I am trying to run a DNS server on non-standard port. for example, port 10053. I listed down the info of my testing environment below, Can someone please help to point out the uncorrect place. Thanks in advance.
In my test environment, A Windows XP as a client which is using 192.168.1.1 and DNS server's IP is 192.168.1.2. When I runs nslookup command on XP, it can send DNS request traffic to the DNS server. In order to hit the DNS server. I added one line of firewall on the DNS server. It will redirect the DNS request traffic and forwarding to 10053 port.
Here is the firewall rules on the DNS server.
Code:
00001 fwd 192.168.1.1,10053 ip from any to any dst-port 53 in
65535 allow ip from any to any
And I captured the UDP traffic on the DNS server.
Code:
20:45:04.613509 IP 192.168.1.2.2864 > 192.168.1.1.domain: 1+ PTR? 1.1.168.192.in-addr.arpa. (42)
20:45:04.613688 IP 192.168.1.1.10053 > 192.168.1.2.2864: UDP, length 58
20:45:06.626713 IP 192.168.1.2.2865 > 192.168.1.1.domain: 2+ A? [url]www.google.com.singtec.com[/url]. (44)
20:45:06.627681 IP 192.168.1.1.10053 > 192.168.1.2.2865: UDP, length 60
20:45:08.622418 IP 192.168.1.2.2866 > 192.168.1.1.domain: 3+ A? [url]www.google.com[/url]. (32)
20:45:08.623174 IP 192.168.1.1.10053 > 192.168.1.2.2866: UDP, length 48
The Result of the nslookup command on Windows XP is "DNS Request Time Out".