jcdole DD-WRT Novice
Joined: 13 Jun 2015 Posts: 42 Location: South-West France
|
Posted: Wed Sep 05, 2018 10:28 Post subject: nslookup - Local network - linux & windows10 computers. |
|
Hello.
nslookup command does not work on window10 computer. The name of my virtual domain is append to the name include in the command. This problem is very new.
example : [/code]nslookup google.com[/code]
change to : [/code]nslookup google.com.some_domain.com[/code]
To set up a domain name on my local network 192.168.x.y i use dd-wrt dnsmasq config file.
THe address of the domain is set to the address of the dd-wrt router as "address=/some_domain.com/192.168.x.y"
[code]listen-address=127.0.0.1,192.168.x.y
domain-needed
bogus-priv
expand-hosts
filterwin2k
no-negcache
#
# Block advertissements
addn-hosts=/tmp/gen_host.txt
#
dhcp-host=uu:uu:uu:uu:uu:uu,192.168.x.a,SERVER
#
dhcp-host=uu:uu:uu:uu:uu:uu,192.168.x.b,COMPUTER_1
dhcp-host=uu:uu:uu:uu:uu:uu,192.168.x.c,COMPUTER_1-WIFI
dhcp-host=uu:uu:uu:uu:uu:uu,192.168.x.d,TLPH1-WIFI
#
dhcp-host=uu:uu:uu:uu:uu:uu,192.168.x.e,PRINTER_1
dhcp-host=uu:uu:uu:uu:uu:uu,192.168.x.f,PRINTER_2
#
dhcp-host=uu:uu:uu:uu:uu:uu,192.168.x.g,SONY-TV
#
dhcp-host=uu:uu:uu:uu:uu:uu,192.168.x.h,TV_ISP_DECODER
#
domain=some_domain.com
local=/some_domain.com/
local=/localdomain/some_domain.com/
address=/some_domain.com/192.168.x.y
#
# MAIL SERVER ( address different than web server )
address=/mailsrv.some_domain.com/192.168.x.w
ptr-record=w.x.168.192.in-addr.arpa,mailsrv.some_domain.com
mx-host=some_domain.com,mailsrv.some_domain.com,10
mx-target=mailsrv.some_domain.com
localmx
#
# WEB SERVER ( address different than mail server )
address=/www.some_domain.com/192.168.x.z
ptr-record=z.x.168.192.in-addr.arpa,www.some_domain.com
#
Any help is welcome. _________________ Netgear R6300v2 DD-WRT v3.0-r47495 std (09/28/21) - Linux Opensuse Leap 15.2 - Win 10 |
|
mwchang DD-WRT Guru
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
|
Posted: Wed Sep 05, 2018 12:53 Post subject: Re: nslookup - Local network - linux & windows10 compute |
|
jcdole wrote: | Hello.
nslookup command does not work on window10 computer. The name of my virtual domain is append to the name include in the command. This problem is very new.
example : Code: | nslookup google.com |
change to : Code: | nslookup google.com.some_domain.com |
|
You didn't include the command's erratic output. It would help if you redo the command and show its output here.
Did you append suffix in Win10's network adapter TCP/IP settings?
"domain-needed" and "filterwin2k" in your DNSmasq config sounded fishy... I don't use them.
I am using default settings in both my DD-WRT router and Win 10 TCP/IP settings:
Code: | C:\Users\Someone>nslookup google.com
Server: DD-WRT
Address: 192.168.1.1
Non-authoritative answer:
Name: google.com
Addresses: 2404:6800:4005:805::200e
216.58.203.46
C:\Users\Someone>nslookup
Default Server: DD-WRT
Address: 192.168.1.1
> www.google.com
Server: DD-WRT
Address: 192.168.1.1
Non-authoritative answer:
Name: www.google.com
Addresses: 2404:6800:4005:805::2004
172.217.24.36
> |
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw |
|