What's new

Need Help With DNS/DNSMasq Config

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

For nslookup, from dhcp clients I used both hostname and fqdn, same result.

The only Linux I have on my intranet is the router itself.
 
Could you try this on your Windows PC and post the output.

nslookup
> set type=any
> Target_Name

> set type=soa
> Target_Name

> exit
 
Ok, I tried that. The "any" type came back with the "old"IP.

The "soa", first returned the router name/IP, then it came back with the info about my domain, like nameserver, etc. That information was correct.
 
C:\Windows\system32>nslookup
Default Server: router.asus.com
Address: 10.10.10.1

> set type=soa
> target_server.domain.fqdn
Server: router.asus.com
Address: 10.10.10.1

lab.home
primary name server = DNS2.domain.fqdn
responsible mail addr = hostmaster.domain.fqdn
serial = 243692
refresh = 900 (15 mins)
retry = 600 (10 mins)
expire = 86400 (1 day)
default TTL = 3600 (1 hour)
DNS2.domain.fqdn internet address = 10.10.10.254
 
Last edited:
I not sure Windows will give enough information to determine the problem. As a last attempt, can you try the following command. And post the complete and unedited output.

nslookup
> set debug
> set type=any
> Target_Name.lab.home
 
Here is the output. The IP it displays is an "old" IP. To force it, I added a 2nd NIC and set it to static, then disabled the old one. I then forced DNS registration and verified that the IP in DNS was correct. So thats how I set this up.

C:\Windows\system32>nslookup
Default Server: router.asus.com
Address: 192.168.99.1

> set debug
> set type=any
> home-scsm.lab.home
Server: router.asus.com
Address: 192.168.99.1

------------
Got answer:
HEADER:
opcode = QUERY, id = 2, rcode = NXDOMAIN
header flags: response, auth. answer, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0

QUESTIONS:
home-scsm.lab.home.lab.home, type = ANY, class = IN
AUTHORITY RECORDS:
-> lab.home
ttl = 3600 (1 hour)
primary name server = home-dc2.lab.home
responsible mail addr = hostmaster.lab.home
serial = 243900
refresh = 900 (15 mins)
retry = 600 (10 mins)
expire = 86400 (1 day)
default TTL = 3600 (1 hour)

------------
------------
Got answer:
HEADER:
opcode = QUERY, id = 3, rcode = NOERROR
header flags: response, auth. answer, want recursion, recursion avail.
questions = 1, answers = 1, authority records = 0, additional = 0

QUESTIONS:
home-scsm.lab.home, type = ANY, class = IN
ANSWERS:
-> home-scsm.lab.home
internet address = 192.168.99.58
ttl = 0 (0 secs)

------------
home-scsm.lab.home
internet address = 192.168.99.58
ttl = 0 (0 secs)
>
 
This looks wrong to me (but I'm not an expert):
QUESTIONS:
home-scsm.lab.home.lab.home, type = ANY, class = IN
Can you post the complete output of ipconfig /all from the client PC.

Edit: And the output of ipconfig /all from home-scsm machine.

I suspect you might have both a primary dns suffix and a connection-specific one. Although if you've changed your adapter or settings that information is probably lost now.
 
Last edited:
I am really baffled by this. I have looked everywhere and I cannot find any DNS Client settings being applied. All I have is a GPO that forces it to register, no settings.

When I run the same nslookup test, aDNS Suffix in nslookup. IDK if the suffix issue is the main problem, but as of now I cannot find the resolution.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top