Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Plasmadog

40 posts

Geek


#68382 20-Sep-2010 19:23
Send private message

Hi all.
I have a Linksys WAG54gp2, which has its DNS proxy enabled. In its config interface I can see a DNS entries table that is populated by all the machines currently connected, showing their host names and IPs. It seems to me that the point of that is to allow me to use the host names to resolve their IPs, but I cannot for the life of me figure out how that is done. On an Ubuntu box I try pinging one of the names in the list and it does not resolve. The Ubuntu box uses DHCP, and the router's address is listed as the primary DNS on that machine.
Can anyone tell me what I'm missing? Is there a domain name I should be using?

Create new topic
raytaylor
4014 posts

Uber Geek

Trusted

  #382939 21-Sep-2010 23:18
Send private message

Are there any firewall programs running on the other pc's?
The windows built in firewall allows incoming ping when set to home or lan mode but most others like norton, trend micro and avg will block it.

Can you ping www.google.co.nz from you ubuntu box?




Ray Taylor

There is no place like localhost

Spreadsheet for Comparing Electricity Plans Here




Plasmadog

40 posts

Geek


  #383037 22-Sep-2010 09:38
Send private message

I don't really care if the ping gets through or not, so firewalls are not an issue. I just want to see the name being resolved to an IP, and that's not happening.

raytaylor
4014 posts

Uber Geek

Trusted

  #383114 22-Sep-2010 12:03
Send private message

Ok ping doesnt really have anything to do with it - it just tests to see if there is communication between the computers.

In theory DNS proxy is just that - a proxy. Its not auctually a DNS server - though some modems call their dns servers proxys.
A proxy just takes your request, and forwards it on to your isp's dns server - which has no clue about the inner workings of your network. It may be that your router's is just a proxy and not a server.

So to get around this, windows computers use a service called WINS - windows internet naming service. Its sort of a peer to peer discovery system that was created in the days of wfw 3.11 as it didnt include tcp/ip installed by default and used the netbeui protocol.
I dont know if your ubuntu computer is capable of joining a wins group.

Are you sure your modem is showing you the list of computer names from its DNS server or dns proxy, rather than its DHCP list? DHCP does ask for a workstation name so that could be where its getting mixed up.




Ray Taylor

There is no place like localhost

Spreadsheet for Comparing Electricity Plans Here




Plasmadog

40 posts

Geek


  #383137 22-Sep-2010 12:52
Send private message

Yeah, I just use ping as a quick way to check name resolution, as it always shows the actual IP it's sending to. Like I say, I don't care about the ping itself, so I could just as well use nslookup. Either way, the names of the local machines aren't resolving to anything.

I know about WINS, and about hosts files for that matter, so I can get to the local machines when I need to. I'm really just trying to determine whether or not the DNS proxy I already have makes those approaches redundant. It looks like it is supposed to, and if so I'd like to know how to use it.

The list of computers I see is labelled "DNS Entries Table", and has the option to manually add new entries (hostname/IP pairs). It is viewed by clicking a button labelled "DNS Entry", which is right next to the checkbox that enables/disables the DNS Proxy. How the list actually gets populated, I don't know, but there are entries there for devices that have a static IP, so it's not just from DHCP.

Maybe it is just a proxy that doesn't serve anything of its own. The manual says nothing about it either way. But in that case that list of local machines would not appear to have any purpose, so it seems unlikely.

raytaylor
4014 posts

Uber Geek

Trusted

  #383742 23-Sep-2010 18:28
Send private message

You have probably already tested this, but on your ubuntu machine, do you have the modem set as the primary dns server and nothing else, like no secondary dns?
And can you then do an nslookup on both an internal and an external domain name or computer name?




Ray Taylor

There is no place like localhost

Spreadsheet for Comparing Electricity Plans Here


Plasmadog

40 posts

Geek


  #383961 24-Sep-2010 10:44
Send private message

Mystery solved, I think. It seems that the DNS proxy does not do what I thought it did, so the question is moot.
I had Wireshark running last night as I was web surfing, and I noticed that all my DNS requests were being sent from the router back to my own PC. I turned off the DNS proxy and it stopped doing that. So it appears that it really is just a proxy, but before forwarding requests upstream it apparently tries all the local machines in turn, on the off-chance that one of them is running a DNS server. Seems a bit pointless to me, but at least I now know what it's doing.

Thanks Ray.

graemeh
2078 posts

Uber Geek


  #383981 24-Sep-2010 11:16
Send private message

So to take this one step further, is there an easy way to do what the OP wanted to do?

 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
raytaylor
4014 posts

Uber Geek

Trusted

  #384029 24-Sep-2010 13:21
Send private message

yes
On the DHCP page of the modem, use a computer running a dns server on the local network as the primary server, and then as secondary, use your isp's dns server. This setting will be issued to all computers via dhcp or their manual configuration.

Disable dns proxy in the router, if you can do the above.

Or buy another modem.

Personally I just have one in half bridge and use a pc as my router.




Ray Taylor

There is no place like localhost

Spreadsheet for Comparing Electricity Plans Here


graemeh
2078 posts

Uber Geek


  #384060 24-Sep-2010 13:58
Send private message

raytaylor: yes
On the DHCP page of the modem, use a computer running a dns server on the local network as the primary server, and then as secondary, use your isp's dns server. This setting will be issued to all computers via dhcp or their manual configuration.

Disable dns proxy in the router, if you can do the above.

Or buy another modem.

Personally I just have one in half bridge and use a pc as my router.


Thanks.  A bit more work than I was looking for as I don't want to add a server to the network.

I'll see if DD-WRT has a DNS server built in, it seems to have most other tricks sorted. :)  Otherwise I'll probably just flag it.

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.