Quantum Gateway Router - Local DNS not working

FIOSfan2013
Newbie

I just installed the Quantum Gateway Router, and I can't seem to get local DNS (i.e. user defined DNS entries) to work correctly.   I'm able to make user-defined entries under Advanced->DNS Server, but the when I attempt to ping the entries, from any machine on my LAN/WLAN, the entries are not resolved.   Has anyone else run into this problem?

Thanks in advance!

1 Solution
bobniss1
Enthusiast - Level 2

Think I figured this out (Or at least what's causing the router to mess up)

Does anyone (else, besides me) having this problem have host names with spaces in them?  My two Nintendo products (a WiiU and a 3DS) both put spaces in their DHCP replies for their names (or at least spaces show up in the router's DNS Server page).  I was looking at the system error log and I noticed that named was erroring out and the field it didn't like was the 2nd 'word' in the Nintendo systems' hostname.  I Shut down the Nintendo devices (and putting up with the complaints from my 11 year old), rebooting the router and chaning the DHCP lease to 1 (to flush things out).   Now local DNS works as expected (at least nslookup from WIndows gives the expect IP for local machines.

Not exactly problem solved, since the previous Verizon supplied router had no issue with the spaces, but at least a path to a solution (will probably try static IP and hostnames for the affected devices).

PS I haven't re-enabled the devices yet to confirm the problem resurfaces

PPS - Greenwave was less than helpful, they refered me to Verizon and told me to ask for tier 2 support.  Tier 2 support told me to pound sand since I'm not a premium customer.

Cheers

View solution in original post

35 Replies
viafax
Contributor - Level 1

Possibly, however I tried to do the same thing on my Actiontec and it does not seem to wrk there either.  I never actually noticed before because I always added the statics into the drivers\etc\hosts file.

0 Likes
Reply
FIOSfan2013
Newbie

I had been using an Actiontec MI424WR router for 2 years prior to upgrading to the G1100 "Quantum Gateway," and I never had any issues with user-defined DNS entries.  In fact, I relied on their use quite heavily (naming several key components on my LAN by name, instead of IP), which is why I am so eager to see this feature work with the G1100.

0 Likes
Reply
techinnj
Newbie

Try pinging by FQDN (fully qualified domain name).

Append .fios-router.home to hostname your are trying to ping.

0 Likes
Reply
techinnj
Newbie

It's been a while for me since I setup a DNS server.

I would have server search local domain first then forward to external caching server.

The Quantum router seems to be forwarding everything by default.

I will dig further.

0 Likes
Reply
FIOSfan2013
Newbie

Yes, assuming the local DNS is running at all, it would seem that all lookups are forwarded to the external DNS servers.   Has anyone had any luck with Greenwave?  

0 Likes
Reply
bobniss1
Enthusiast - Level 2

Think I figured this out (Or at least what's causing the router to mess up)

Does anyone (else, besides me) having this problem have host names with spaces in them?  My two Nintendo products (a WiiU and a 3DS) both put spaces in their DHCP replies for their names (or at least spaces show up in the router's DNS Server page).  I was looking at the system error log and I noticed that named was erroring out and the field it didn't like was the 2nd 'word' in the Nintendo systems' hostname.  I Shut down the Nintendo devices (and putting up with the complaints from my 11 year old), rebooting the router and chaning the DHCP lease to 1 (to flush things out).   Now local DNS works as expected (at least nslookup from WIndows gives the expect IP for local machines.

Not exactly problem solved, since the previous Verizon supplied router had no issue with the spaces, but at least a path to a solution (will probably try static IP and hostnames for the affected devices).

PS I haven't re-enabled the devices yet to confirm the problem resurfaces

PPS - Greenwave was less than helpful, they refered me to Verizon and told me to ask for tier 2 support.  Tier 2 support told me to pound sand since I'm not a premium customer.

Cheers

CRobGauth
Community Leader
Community Leader

Spaces are not legal in a domain name when it comes to DNS.

Ping commands don't know how to process with a space (example: ping Robert's Wii).

Not sure why it worked on the previous version.

0 Likes
Reply
bobniss1
Enthusiast - Level 2

I'm going to spend part of my snowy day a little later on the phone with Nintendo,  trying to see if there's a way to fix it from the that end.   (At least something to do between pushing snow around the driveway!)

Perhaps off topic a little, the distinction here may be permittable spaces (or other octets) in the host vs domain/subdomain name . . .

BTW: While Windows (at least Win7 home) appears to have an issue with spaces, Linux (Fedora 21)  ping and nslookup do support spaces in both host and TLD, though of course they don't resolve to anything:

[bob@xxxxxx ~]$ ping "hello world.my home"
ping: unknown host hello world.my home

also

[bob@xxxxx ~]$ nslookup "Hello World.My Domain"
Server:        192.168.1.1
Address:    192.168.1.1#53

** server can't find Hello\032World.My\032Domain: NXDOMAIN

(Interesting that nslookup errors with the octal representaion, but ping does not)

In looking at the DNS request, as captured by wireshark, in both cases the query name reflects the spaces (in both the host and TLD portion. ie the 'query' portion of the DNS request:

0000   0b 48 65 6c 6c 6f 20 57 6f 72 6c 64 09 4d 79 20  .Hello World.My
0010   44 6f 6d 61 69 6e 00 00 01 00 01                 Domain.....                                      .

Note the length fields (0b / 09) include the spaces (20)

In reading the various RFC's its a little muddy to me if spaces are legal, as there are references to octet strings as well as restiction to LetterDigitHyphen.   Wikipedia (OK, not the best of references) Domain_name_system page states "DNS names may technically consist of any character representable in an octet. However, the allowed formulation of domain names in the DNS root zone, and most other sub domains, uses a preferred format and character set." 

Perhaps there may be a distinction with a difference regarding host vs domain/subdomain names.  In the case of the Quantum Router, its clearly a hostname containing spaces problem I believe I am seeing

In addition, RFC 2181 states:

 The DNS defines domain name syntax very generally -- a
                 string of labels each containing up to 63 8-bit octets,
                 separated by dots, and with a maximum total of 255
                 octets.  Particular applications of the DNS are
                 permitted to further constrain the syntax of the domain
                 names they use, although the DNS deployment has led to
                 some applications allowing more general names.  In
                 particular, Section 2.1 of this document liberalizes
                 slightly the syntax of a legal Internet host name that
                 was defined in RFC-952 [DNS:4].
0 Likes
Reply
bobniss1
Enthusiast - Level 2

I have what I think is a work-around (the engineer in me) or a solution (the user support in me) to the issue of spaces in DHCP supplied host names. I’ve tested this with my Wii U and 3DS

  • On the offending device, turn off DHCP, and assign statically an IP, netmask, and DNS server.
    1. In choosing an IP, I’ve previously set my DHCP configuration to use >100 for the last octet. In my case, I set the WiiU to .24 and 3DS to .25
    2. I suggest not re-using the IP that was assigned via DHCP, though this may not matter and might only require slight medications to step 3
  • On the Quantum router, Advanced -> DNS Server click Add DNS Entry
    1. Enter a spaceless name and the IP chosen from step 1
    2. Apply
  • It is necessary to ‘purge’ the offending name from the Quantum router.
    1. You can try and wait out the DHCP lease – this might be as long as 1440 hours. Even though there won’t be any connectivity from the device. For the 3DS this didn’t appear to work for me.
    2. I <think> the following should also work (seemed to work for me this morning)
      1. On the Quantum router: Advanced->IP Address Distribution->Connection List
      2. Find the “offending” hostname, select edit
      3. Check the ‘static least type’ box
      4. Apply
      5. Re-edit the host
      6. Uncheck the ‘static lease type’ box
      7. Apply
      8. I <think> this will force the router to try and reset the lease. Since the IP is no longer there (first step), the router should drop the offending name
      9. Note: It might be necessary to manually add a static connection (get the MAC address for the offending device) if not found in step 2.2 above (this was the case for my 3DS)
  • Refresh the Advanced->IP Address Distribution->Connection List, if all went well, the offending hostname should be gone
  • Test via Advanced->Diagnosis and put in the hostname used in step 2. (Might have to apply your local domain name – this seemed a bit inconsistent when I tried various local hosts)  Next step via ping and/or nslookup from host devices
  • Clues to the problem (and if this fixed it) are found on the Quantum Router “System Monitoring” -> “Advanced Status” -> “System Logging”. You can look at the default System Log, or the “LAN DHCP Log”.
    1. Mar  5 17:31:56 2015 local3.warn<156> named[27536]: localnet.zone:20: unknown RR type 'Wii'
    2. Mar  5 17:31:56 2015 local3.err<155> named[27536]: dns_rdata_fromtext: localrev.zone:22: near 'Wii': extra input text
NRJank
Newbie

just want to thank you for these instrunctions. not 100% sure, but following your instructions for the Wii U and 3DS in my house seemed to resolve some DNS issues. Before following your instrucitons, I was having issues doing normal DNS resolution on my network. couldn't get to a couple outside websites by name, but could by ip. an nslookup from any computer on the network would give: 

Can't find server name for address 192.168.1.1

I noticed the Wii error in the log as you pointed out, and so went through the rename process  for both Wii and 3ds. Now an nslookup gives the expected:

Default Server:  FIOS_Quantum_Gateway.fios-router.home

and no errors. pinging around my local network by name doesn't give errors either. am now able to get to the external page. of course that may have been coincidence, maybe they were having issues with thier webserver resolution.  But I went about switching to google's public DNS while I was mucking about in the settings. no RFC breaking DNS redirects now.

0 Likes
Reply
BradenMcDaniel
Enthusiast - Level 3

I think that this issue has finally been fixed.

I'd been hobbling along with it busted for a while as I hadn't found the time to set up an alternative DHCP/name server. But as of a day or two ago, things just started working. The firmware version for my router now reads “1.3.0.47.64”. (Though, I haven't been able to discover exactly when the last update got pushed down.)

NRJank
Newbie
I did just get an email in the past week about them rolling out a new firmware, but all the email described was the way it would handle dual band wifi .
0 Likes
Reply
BradenMcDaniel
Enthusiast - Level 3

@NRJank wrote:
I did just get an email in the past week about them rolling out a new firmware, but all the email described was the way it would handle dual band wifi .

I wouldn't expect to see an exhaustive list of bug fixes in an e-mail like that. Honestly, while this issue probably annoyed the hell out of some of us, the vast majority of users either never noticed it or, if they saw a problem at all, simply couldn't identify it.

My G1100 is in a metal box in a wall in my closet. Its WiFi is turned off. I use a Netgear EX7000 for WiFi; because, after testing a few different access points, it provided the best 5 GHz coverage in my house.

0 Likes
Reply
JBoy53
Enthusiast - Level 3

Using host names to connect to a server within my local LAN has stopped working.  I can connect and ping devices by IP address, but trying to do either using the host name has stopped.  I'm using a qualified host name with no spaces,etc., and it has been working fine for months.  Sometime over the past very few weeks it has stopped.  I have hardware version 1.03, firmware version 02.00.01.07.  Settings are all correct as described in this string of posts.  It just stopped working.

0 Likes
Reply
NRJank
Newbie

If it's at all related to the problem described in this thread, it would be from a device that puts a space in the device ID.

If you don't see one of those that you can rename, best advise I can give is to change your ssid to disconnect everything from the wireless network, and unplug all hardwired connections except the 1 computer you're changing settings with. Then see if routing works correctly. If not do a router reset and try again. If euther of those work, add devices one by one until the problem reoccurs, then troubleshoot that one device. If it still does not work ... ¯\_(ツ)_/¯

0 Likes
Reply