Static DNS not working

evansnp
Posts: 162
Joined: Fri Feb 28, 2014 11:28 am

Static DNS not working

Post by evansnp »

I have a server that obtains a static IP address from the router (192.168.1.30), and have set up a static DNS to match (MediaVault). However, when I perform an 'nslookup', the router doesn't find the address in its table, and returns

Code: Select all

C:\Users\Nevans>nslookup MediaVault
Server:  Billion_Router.home.gateway
Address:  192.168.1.254

*** Billion_Router.home.gateway can't find MediaVault: Non-existent domain
[code]

If I do a reverse lookup, the correct host-name is returned.

Unless I'm going mad, this did work when I first set it up, but stopped today.  Having tried everything I could think of, I re-installed 2.32d, and did a factory reset, and then re-loaded the original config, all to no avail.  What have I done ?
billion_fan
Posts: 5398
Joined: Tue Jul 19, 2011 4:30 pm

Re: Static DNS not working

Post by billion_fan »

evansnp wrote:I have a server that obtains a static IP address from the router (192.168.1.30), and have set up a static DNS to match (MediaVault). However, when I perform an 'nslookup', the router doesn't find the address in its table, and returns

Code: Select all

C:\Users\Nevans>nslookup MediaVault
Server:  Billion_Router.home.gateway
Address:  192.168.1.254

*** Billion_Router.home.gateway can't find MediaVault: Non-existent domain
[code]

If I do a reverse lookup, the correct host-name is returned.

Unless I'm going mad, this did work when I first set it up, but stopped today.  Having tried everything I could think of, I re-installed 2.32d, and did a factory reset, and then re-loaded the original config, all to no avail.  What have I done ?[/quote]

Have you tried to disable the DNS proxy?? under 'Advanced Setup >> DNS Proxy'
evansnp
Posts: 162
Joined: Fri Feb 28, 2014 11:28 am

Re: Static DNS not working

Post by evansnp »

Hi Billion_Fan,

Just tried that, but now the router is passing BT's DNS servers to the clients.

Code: Select all

C:\Users\nev>nslookup mediavault
Server:  indnsc101.bt.net
Address:  213.120.234.34

Non-authoritative answer:
Name:    mediavault.home.gateway
Address:  92.242.132.15
billion_fan
Posts: 5398
Joined: Tue Jul 19, 2011 4:30 pm

Re: Static DNS not working

Post by billion_fan »

evansnp wrote:Hi Billion_Fan,

Just tried that, but now the router is passing BT's DNS servers to the clients.

Code: Select all

C:\Users\nev>nslookup mediavault
Server:  indnsc101.bt.net
Address:  213.120.234.34

Non-authoritative answer:
Name:    mediavault.home.gateway
Address:  92.242.132.15
Have you tried to set your DNS server to the WAN profile?
evansnp
Posts: 162
Joined: Fri Feb 28, 2014 11:28 am

Re: Static DNS not working

Post by evansnp »

Hi Billion_fan, not sure what you mean by this. In the DNS settings, ppp1.1 is the gateway for DNS traffic, with USB as the secondary.
billion_fan
Posts: 5398
Joined: Tue Jul 19, 2011 4:30 pm

Re: Static DNS not working

Post by billion_fan »

evansnp wrote:Hi Billion_fan, not sure what you mean by this. In the DNS settings, ppp1.1 is the gateway for DNS traffic, with USB as the secondary.
See attached screen shot
You do not have the required permissions to view the files attached to this post.
billion_fan
Posts: 5398
Joined: Tue Jul 19, 2011 4:30 pm

Re: Static DNS not working

Post by billion_fan »

billion_fan wrote:
evansnp wrote:Hi Billion_fan, not sure what you mean by this. In the DNS settings, ppp1.1 is the gateway for DNS traffic, with USB as the secondary.
See attached screen shot
Also have you tried to make the change under 'LAN' as shown on the attached screen shot
You do not have the required permissions to view the files attached to this post.
evansnp
Posts: 162
Joined: Fri Feb 28, 2014 11:28 am

Re: Static DNS not working

Post by evansnp »

Hi Billion_fan, I think that I've confused you. It's not a static DNS server entry that I am questioning, it's a static DNS entry in the routers DNS table.
See screenshot
Static_DNS.PNG
You do not have the required permissions to view the files attached to this post.
billion_fan
Posts: 5398
Joined: Tue Jul 19, 2011 4:30 pm

Re: Static DNS not working

Post by billion_fan »

evansnp wrote:Hi Billion_fan, I think that I've confused you. It's not a static DNS server entry that I am questioning, it's a static DNS entry in the routers DNS table.
See screenshot
Static_DNS.PNG
If you take the router out of equation, and set a PC with a satic DNS sever pointing to the DNS server, is there any issue?
evansnp
Posts: 162
Joined: Fri Feb 28, 2014 11:28 am

Re: Static DNS not working

Post by evansnp »

I've solved it! I telnet'd into the router, and looked at the 'Hosts' table, and discovered that all DHCP derived entries had two entries. One was just the hostname, and the other was the FQDN i.e. hostname.home.gateway. I added two entries to the static DNS table (Advanced -> DNS -> Static DNS), and now MediaVault is resolved correctly.

Code: Select all

C:\Users\Nevans>nslookup MediaVault
Server:  Billion_Router.home.gateway
Address:  192.168.1.254

Non-authoritative answer:
Name:    MediaVault.home.gateway
Address:  192.168.1.30
and this is what I configured on the router:
Static_DNS.PNG
You do not have the required permissions to view the files attached to this post.
Post Reply