• November 02, 2024, 12:20:14 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Local Doman Name setting on router  (Read 20874 times)

arisia

  • Level 1 Member
  • *
  • Posts: 3
Local Doman Name setting on router
« on: November 21, 2012, 05:38:48 AM »

Greetings,

Apologies if this has been posted and answered in the past - I did a search of the forums and wasn't able to find this specific piece of information.

I have the DIR-655 (H/w Ver B1, F/W Ver 2.05NA) set up as router on my network (TWC/RR - modem is Motorola SURFBoard 6121 - modem only, no router or other services provided). I have configured the router sufficiently to allow all computers on the local network to access the Internet, and have configured the DHCP server on the router to provide IP addresses to the local network. I have configured the router to provide the DNS addresses for my local DNS resolvers (so that I can provide DNS resolution for an "internal" domain). Configuration specifics available on request, but everything mentioned so far is working satisfactorily, at least so far.

So, my question: The "Local Domain Name" setting on the router, as indicated in the documentation, provides a connection-specific domain name when DHCP supplies an IP address to the local system. This setting, however, is overridden if the ISP provides a domain name when it assigns an IP to the WAN connection. I have verified by experiment that this is true (no matter what I put in the Local Domain Name field - whether a valid domain, or blank - the local machines receive the domain name supplied by the ISP.

I wish to modify this behavior. I wish to have the router provide the domain name specified in the Local Domain Name field *regardless* of what the ISP provides.

Is this possible? And if so, how?

Tracy
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Local Doman Name setting on router
« Reply #1 on: November 21, 2012, 06:59:51 AM »

You would probably have to contact your ISP and ask them about this. This comes from them and gets assigned by them. I don't think there is any way of preventing it if they are using a name there. Some ISPs do, some don't like mine.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

arisia

  • Level 1 Member
  • *
  • Posts: 3
Re: Local Doman Name setting on router
« Reply #2 on: November 22, 2012, 07:53:33 AM »

Greetings,

Thank you for your answer. As I understand your answer, you said: if I do not wish the ISP to provide a domain name for the connection, I would need for them to change the configuration on their end.

However, that's not quite what I wanted to know - what I want to know is: is there a way to set the DIR-655 so that it will provide a specified domain name for LAN based computers through DHCP *without regard to* what the ISP may or may not have provided for the WAN connection?

The connection specific domain name doesn't have any relevance outside of my local network - the only real use for it is in providing extended DNS resolution within the network, so that if a user were to type, for example, PING FOO the resolver would first attempt to look up FOO in DNS. If it were unsuccessful in finding FOO, then it would append the connection specific domain name and reattempt DNS lookup.

By providing a locally specified connection specific domain name, I can allow users who don't think about DNS and FQDN names with DNS resolution that will nevertheless still function as expected at the local LAN level. However, if the ISP assigned connection specific domain name is provided by DHCP, local resolution of unqualified domain names becomes "broken", as the FQDN produced when the initial lookup fails is not registered with either the ISP's DNS server, or with my own DNS server.

Examples (fictional names):

Example 1:
ISP provided connection specific domain name: foo.bar.neo.rr.com
DHCP provided connection specific domain name: <echos ISP provided name>

End user attempts to resolve DNS name: quack

NSLOOKUP attempts DNS resolution of FQDN "quack" - fails
NSLOOKUP attempts DNS resolution of FQDN "quack.foo.bar.neo.rr.com" - fails

End result: fail

Example 2:
ISP provided connection specific domain name: foo.bar.neo.rr.com
DHCP provided connection specific domain name: duck.local

End user attempts to resolve DNS name: quack

NSLOOKUP attempts DNS resolution of FQDN "quack" - fails
NSLOOKUP attempts DNS resolution of FQDN "quack.duck.local" - success

End result: success

So what I need to know is - is this possible, using the DHCP setup in the DIR-655? And if so, how?

Thank you for your assistance so far, and also in anticipation of any additional information you can provide.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Local Doman Name setting on router
« Reply #3 on: November 22, 2012, 08:07:43 AM »

You may want to try testing with DNS setting manually entered into Setup/Internet/Manual then DNS Relay and Advanced DNS Services OFF.
Also you might want to setup IP reservations on the router for ALL devices.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Local Doman Name setting on router
« Reply #4 on: November 28, 2012, 11:31:12 AM »

Any status on this?  ???
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

arisia

  • Level 1 Member
  • *
  • Posts: 3
Re: Local Doman Name setting on router
« Reply #5 on: November 29, 2012, 04:16:01 AM »

Hi,

Sorry for the long delay on getting back to you - the intervening holiday was a bit more "intrusive" than I had planned.

I do have the DNS settings manually entered (so that name resolution is going through my servers rather than through the ISP servers), and DNS Relay is turned off (else my servers would never be hit). I also tried turning Advanced DNS Services off (and on) - neither seemed to really be of much help in the matter.

I have not set up reservations for all devices on the network. It seems to me that doing this would accomplish no more than would simply assigning "static" IP addresses for the various devices, which is not what I am attempting to accomplish (and would seem to defeat the very purpose of using DHCP, that of assigning IP addresses to devices as needed, rather than simply assigning IP addresses to each device).

So far, my "workaround" has been to simply tell users they cannot use unqualified DNS names. And that works, mostly - although it does break some services.

I would still be interested in finding out if there's a solution to this, but I'm beginning to suspect that there simply isn't. From what I'm seeing here, and in looking through the router manual, and what I can deduce from the router setup, it seems that the firmware coding simply didn't take this possibility into account. Seems a shame, since the router is otherwise a decent router (so far - it's only been a couple of weeks).

Tracy
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Local Doman Name setting on router
« Reply #6 on: November 29, 2012, 06:58:26 AM »

It seems that the system is working as expected and your ISP is probably the point of control for the local domain. Not sure how or why they are doing this. I would ask your ISP if they have any DNS or Domain name policies. I can enter in a Local Domain Name and MY ISP isn't doing anything with it. I see the name appear in Network Places. I also use other DNS manually aside from default ISP DNS and those are also manually entered in with DNS Relay and Advanced DNS Services OFF.

One reason for using Reserved IP address assignment which does not defeat DHCP IP address assignment is the benefits of help in troubleshooting, avoids conflicts, ease of management and identification of devices on the network, avoids possible feature rule breaking should the IP address change on the device and each device gets it's own IP address each and every time it connects. These are highly recommended reasons for using Reserved IP addressing which the benefits out way most DHCP assignment benefits. However these are at users discretions.

I would phone contact DLink support, say level 2 or higher and present this to them and see how it goes.

Keep us posted and let us know what they say.

Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.