Hi Guys
This one is driving me insane!
I use the DHCP server on my LAN in m0n0wall. I also use the DNS forwarder.
I have setup two DNS server entries in the Genreal Setup section. These
are the DNS server IP's of my ISP.
Ok here is the scenario. My computer obtains an IP address from
m0n0wall, after doing a "ipconfig/all" I get the following.
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : mydomain.com
Description . . . . . . . . . . . : VIA PCI 10/100Mb Fast
Ethernet Adapter
Physical Address. . . . . . . . . : *(I deleted this)*
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.189
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
Lease Obtained. . . . . . . . . . : Thursday, 10 November 2005
9:54:22 AM
Lease Expires . . . . . . . . . . : Thursday, 10 November 2005
7:54:22 PM
OK now when I do a nslookup on a domian like google.com I get this
C:\Documents and Settings\Mark Wass>nslookup google.com
Server: pyro.mydomain.com --------> This is my m0n0wall box
Address: 192.168.1.1
Name: *google.com.mydomain.com*
Address: AAA.BBB.CCC.196 -----> Where this is the REAL World IP of
mydomain.com
I did notice that the first line of the "ipconfig/all" command says
"Connection-specific DNS Suffix . : mydomain.com" does this have
anything to do the problem?
I have checked my DNS settings in Windows and I do NOT have "Append
parent suffixes of the Primary DNS suffix" option turned on.
This is causing all sorts of problem for me when a LAN client needs to
do a DNS lookup.
I have noted that when I do NOT use m0n0 for getting a DHCP address and
I manually assign the IP and DNS servers to my windows client that it is
not an issue, and all works just fine.
PLEASE will some one help me on this.
Mark |