Overclock.net › Forums › Software, Programming and Coding › Networking & Security › My router is NOT a DNS server?! Need router w/ DNS server!!
New Posts  All Forums:Forum Nav:

My router is NOT a DNS server?! Need router w/ DNS server!!

post #1 of 11
Thread Starter 
This is crazy. I'm kind of surprised.

LAN computer A 192.168.0.101
LAN computer B 192.168.0.102

Ping by IP address works fine.

(A) $ ping 192.168.0.102
64 bytes from 192.168.0.102

(B) $ ping 192.168.0.101
64 bytes from 192.168.0.101

Great. My LAN is all setup and healthy. But host name lookups do not work.

(A) $ ping B
host not found
(B) $ ping A
host not found

The following things are not the answer to the question:
  1. Host file entries - would work but I do not want to maintain this on each computer.
  2. WINS/NetBIOS over TCP - would work but this is not a windows environment
  3. Software DNS server, e.g. dnsmasq. would work but I feel I shouldn't have to resort to this
  4. Dynamic dns.org - nothing to do with it


Essentially I need a hardware DNS server. Without that i'm stuck with option 3, but I'm having issues getting it setup correctly, and I'm at the point now where I'm convinced it just doesn't make sense.

I can't believe this router does not offer a DNS server. It does have a DHCP reservation table: I type in mac address=>ip & computer name. Why does it not just use that for dns lookups?? I'm curious how hard it would be to hack the firmware, to adjust the dns_lookup() piece to check in that table first.

This thread here is spot on what I'm up against / trying to do: http://forums.smallnetbuilder.com/showthread.php?t=3690

So, my question is, what wired routers offer a built-in DNS service? So far I'm only finding Cisco IOS, which is expensive ... and only 10/100...

For the record here's a network diagram:
Code:
Internet
V
comcast cable modem
V 
Dlink router 192.168.0.1   gateway, has dhcp server & reservation table, dns passthrough to comcast
V
main computer,  reserved 192.168.0.10.  dns lookups going to 192.168.0.1
V
eth0  > br0     <    <
            ^              ^
          qtap00       qtap01
           ^                  ^
         virt01              virt02
00:11:22:33:44:01      00:11:22:33:44:02 
192.168.0.101             192.168.0.102
reserved at router            reserved

Edited by lloyd mcclendon - 4/3/11 at 8:25pm
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #2 of 11
Most soho routers just redirect all DNS to the ISP or they do not use DNS masq and shunt the required DNS IP straight to the pcs.

Can you show us an ipconfig/ifconfig of the interfaces on your pcs?

It honestly sounds like you just need to set your DNS on the clients to point to your router. That command will tell us yes or no.

Ping from computer to computer on the same switch/hub work fine but host name addressing will not if there is no device being targeted for DNS.
Edited by Sarec - 4/3/11 at 8:31pm
Windfall
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 Asus P5E3 Premium Wifi XFX HD Radeon 6950 SuperTalent 
Hard DriveOptical DriveOSMonitor
WADFALS1001 WD Black Edition 1TB x 2 Raid 0 DVD-RW DIE VISTA, Using W7 24Inch 1920x1200 
PowerCase
Corsair 750TX Corsair 800D 
  hide details  
Reply
Windfall
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 Asus P5E3 Premium Wifi XFX HD Radeon 6950 SuperTalent 
Hard DriveOptical DriveOSMonitor
WADFALS1001 WD Black Edition 1TB x 2 Raid 0 DVD-RW DIE VISTA, Using W7 24Inch 1920x1200 
PowerCase
Corsair 750TX Corsair 800D 
  hide details  
Reply
post #3 of 11
Why do u need arpa lookup for your LAN ip's?

I use an old pc running pfSense as my firewall. It can resolve ips to their dhcp hostname. I can also put manual entries in if I want. Before that I used a Linksys WRT54G running dd-wrt. It had virtually those same features.

I'm still curious as to why u want this.
Scorpion
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2500K Gigabyte GA-Z68X-UD3H-B3 MSI GeForce GTX 580 Lightning Corsair Vengeance 8GB DDR3-1600 CL9 
Hard DriveOptical DriveOSMonitor
OCZ Agility 2 120GB Samsung SH-S223L DVD-RW Windows 7 Professional 64-Bit AOC e2243Fwk 21.5" LED 
KeyboardPowerCaseMouse
XArmor U9 Mechanical Corsair HX850 Corsair Carbide Series 500R Logitech G500 
Mouse PadAudio
Nova Gaming Winner 3 Realtek ALC889 Codec 
  hide details  
Reply
Scorpion
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2500K Gigabyte GA-Z68X-UD3H-B3 MSI GeForce GTX 580 Lightning Corsair Vengeance 8GB DDR3-1600 CL9 
Hard DriveOptical DriveOSMonitor
OCZ Agility 2 120GB Samsung SH-S223L DVD-RW Windows 7 Professional 64-Bit AOC e2243Fwk 21.5" LED 
KeyboardPowerCaseMouse
XArmor U9 Mechanical Corsair HX850 Corsair Carbide Series 500R Logitech G500 
Mouse PadAudio
Nova Gaming Winner 3 Realtek ALC889 Codec 
  hide details  
Reply
post #4 of 11
Quote:
and only 10/100...
Like you really need more for your WAN rolleyes.gif

Either:
1) Statically assign IP's and use host files.
2) Use Samba on each PC to send a NetBIOS resolvable name.

And yes, dyndns could easily be relevant if you simply pointed it at an internal IP.
Example: ping test.hyperport.net
Gasp!

Without a broadcast mechanism such as NetBIOS or manually entering DNS entries, tell me exactly how the router would know that PC a resolves to 192.168.x.x ?
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
post #5 of 11
Your router is not a DNS server, it uses DNS servers that your ISP assigns or DNS servers you assign yourself.

Think about it, you would have make manual entries for each of your hostname's and their respective IP's on a local DNS server anyway.
post #6 of 11
Thread Starter 
Quote:
Can you show us an ipconfig/ifconfig of the interfaces on your pcs? later...

It honestly sounds like you just need to set your DNS on the clients to point to your router. That command will tell us yes or no. /etc/resolv.conf is always pointing to router, 192.168.0.1
Quote:
Why do u need arpa lookup for your LAN ip's? So i can always refer to machines by a friendly name instead of typing IP.

I use an old pc running pfSense as my firewall. It can resolve ips to their dhcp hostname. I can also put manual entries in if I want. Before that I used a Linksys WRT54G running dd-wrt. It had virtually those same features. thank you, I will continue to look into pfsense & said router

I'm still curious as to why u want this. I'm curious why you think I wouldn't want this? https://192.168.0.122 no thanks [url]http://appXtst01[/url] yes
Quote:
Like you really need more for your WAN no it would be for transferring large database backups across the lan, etc.

Either:
1) Statically assign IP's and use host files. read again, i said no host files. i have ips 'assigned' through dhcp reservations
2) Use Samba on each PC to send a NetBIOS resolvable name. NETBIOS is slow, not installing samba across a pure nix environment, that is nonsense - this is what DNS is for

Without a broadcast mechanism such as NetBIOS or manually entering DNS entries, tell me exactly how the router would know that PC a resolves to 192.168.x.x ? manually enter into routher DNS table is fine - do not currently have DNS table.. ideally DNS table and DHCP reservation table would be joined in the UI to avoid duplication


...
Edited by lloyd mcclendon - 4/3/11 at 9:16pm
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #7 of 11
Thread Starter 
Quote:
Originally Posted by t4ct1c47;12991812 
Your router is not a DNS server, right, I want one that has this built in

Think about it, you would have make manual entries for each of your hostname's and their respective IP's on a local DNS server anyway. sure, but i would prefer to have them at the router, alongside the dhcp reservations. it seems like a better place for that to live, as opposed to some software on the lan.

...
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #8 of 11
Since you have all these computers you need to access by hostname, why not make one a DNS server for your lan as well? For some reason, computers are good at multitasking.

Within you router/firewall you explicitly set it to provide the ip of your DNS server instead of the firewalls for DHCP. On your static computers, just manually config them to use your DNS server. On your DNS server, don't forget to configure forwarders (using your ISP's DNS servers, Google's Public DNS, etc...) so you DNS server doesn't actually do the external lookup's it's self. Viola, you now have an internal DNS server for your LAN. Now you can impress all of your friend.
Scorpion
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2500K Gigabyte GA-Z68X-UD3H-B3 MSI GeForce GTX 580 Lightning Corsair Vengeance 8GB DDR3-1600 CL9 
Hard DriveOptical DriveOSMonitor
OCZ Agility 2 120GB Samsung SH-S223L DVD-RW Windows 7 Professional 64-Bit AOC e2243Fwk 21.5" LED 
KeyboardPowerCaseMouse
XArmor U9 Mechanical Corsair HX850 Corsair Carbide Series 500R Logitech G500 
Mouse PadAudio
Nova Gaming Winner 3 Realtek ALC889 Codec 
  hide details  
Reply
Scorpion
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2500K Gigabyte GA-Z68X-UD3H-B3 MSI GeForce GTX 580 Lightning Corsair Vengeance 8GB DDR3-1600 CL9 
Hard DriveOptical DriveOSMonitor
OCZ Agility 2 120GB Samsung SH-S223L DVD-RW Windows 7 Professional 64-Bit AOC e2243Fwk 21.5" LED 
KeyboardPowerCaseMouse
XArmor U9 Mechanical Corsair HX850 Corsair Carbide Series 500R Logitech G500 
Mouse PadAudio
Nova Gaming Winner 3 Realtek ALC889 Codec 
  hide details  
Reply
post #9 of 11
Thread Starter 
^ yeah that's probably what i'll end up doing. setup sounds ok enough, but not as concise as inside the router, possibly joined on dhcp reservation.

i just need to clean out dnsmasq and start over more carefully..drunken.gif
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #10 of 11
Think about what a DNS server does. It keeps records of domains/hostnames and their IP addresses. Now, think about how much memory is on a typical domestic router.....

Build a DNS server.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › My router is NOT a DNS server?! Need router w/ DNS server!!