Page 1 of 2

Static DNS not working

Posted: Fri Jul 25, 2014 9:14 pm
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 ?

Re: Static DNS not working

Posted: Thu Jul 31, 2014 9:42 am
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'

Re: Static DNS not working

Posted: Thu Jul 31, 2014 1:24 pm
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

Re: Static DNS not working

Posted: Fri Aug 01, 2014 9:29 am
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?

Re: Static DNS not working

Posted: Sat Aug 02, 2014 2:39 pm
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.

Re: Static DNS not working

Posted: Mon Aug 04, 2014 10:34 am
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

Re: Static DNS not working

Posted: Tue Aug 05, 2014 9:34 am
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

Re: Static DNS not working

Posted: Tue Aug 05, 2014 6:11 pm
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

Re: Static DNS not working

Posted: Wed Aug 06, 2014 10:14 am
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?

Re: Static DNS not working

Posted: Wed Aug 06, 2014 4:37 pm
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