Navigation
« 

Anonymous




Register
Login
« 
« 

Amiga Future

« 

Community

« 

Knowledge

« 

Last Magazine

The Amiga Future 167 was released on the March 5th.

The Amiga Future 167 was released on the March 5th.
The Amiga Future 167 was released on the March 5th.

The Amiga Future 167 was released on the March 5th.
More informations

« 

Service

« 

Search




Advanced search

Unanswered topics
Active topics
« 

Social Media

Twitter Amigafuture Facebook Amigafuture RSS-Feed [german] Amigafuture RSS-Feed [english] Instagram YouTube Patreon
« 

Advertisement

Amazon

Patreon

« 

Partnerlinks

DNS issues (I think), can I keep DHCP but use static DNS?

Support Roadshow

Moderators: AndreasM, olsen

Post Reply
spud
Grade reingestolpert
Grade reingestolpert
Posts: 1
Joined: 04.02.2015 - 23:57

DNS issues (I think), can I keep DHCP but use static DNS?

Post by spud »

In my LAN I have a NAS acting as local DNS server (proxying real dns servers). My cablemodem (= default gateway & local DHCP server) lists this NAS as primary DNS server.

Now my Amigas tend to have some difficulty with the NAS dns server. Also Roadshow, when set to dhcp, I think. Somehow dns lookups work only one boot in many. All other boots dns lookups don't work.

Now I could setup the Amiga with a fully static config, but frst I hoped I could still use dhcp to get IP, gateway & subnetmask and set static DNS servers. Unfortunately these static dns servers seem to be lower in priority than the dhcp retrieved dns servers? Is there a way to overrule the dhcp retrieved dns servers? Or do I really have to disable dhcp?
olsen
CygnusEd Developer
Posts: 167
Joined: 06.06.2006 - 16:27

Re: DNS issues (I think), can I keep DHCP but use static DNS

Post by olsen »

spud wrote:In my LAN I have a NAS acting as local DNS server (proxying real dns servers). My cablemodem (= default gateway & local DHCP server) lists this NAS as primary DNS server.
Is this strictly necessary? I am asking because normally, your ISP would suggest which DNS servers to use, and these are commonly caching responses and respond most quickly to queries from your home network. The downside to using the ISP-provided DNS servers is that some (many?) ISPs will not transparently resolve queries but insert their own responses.

Can you replace the DNS server which your NAS uses? It's possible that the problem is not so much with the NAS, but with the DNS server it delegates its queries to.
Now my Amigas tend to have some difficulty with the NAS dns server. Also Roadshow, when set to dhcp, I think. Somehow dns lookups work only one boot in many. All other boots dns lookups don't work.
This could be caused by DNS lookups taking too long to complete. Lookups must succeed within five seconds after a query is sent. Hard to tell if this is cause, though :(
Now I could setup the Amiga with a fully static config, but frst I hoped I could still use dhcp to get IP, gateway & subnetmask and set static DNS servers. Unfortunately these static dns servers seem to be lower in priority than the dhcp retrieved dns servers? Is there a way to overrule the dhcp retrieved dns servers? Or do I really have to disable dhcp?
Yes, I am afraid this is the only solution available right now. The DNS servers provided through the DHCP negotiation do take priority over the statically configured DNS servers. I made the choice back then because misconfiguration of the static DNS servers tends to be a bigger problem than DHCP configuration of the servers to use. Giving the user a choice which servers to prefer would be possible, but that won't be a feature which is likely to become available soon enough :(
kolla
Newbie
Newbie
Posts: 7
Joined: 19.04.2017 - 14:18

Post by kolla »

How about supporting mDNS for looking up systems on the LAN, that most likely are not in DNS? I think SMBFS could benefit from this ;)
olsen
CygnusEd Developer
Posts: 167
Joined: 06.06.2006 - 16:27

Post by olsen »

kolla wrote:How about supporting mDNS for looking up systems on the LAN, that most likely are not in DNS? I think SMBFS could benefit from this ;)
Implementing multicast DNS is a wee bit too tricky for me :( Porting an existing mDNS implementation would be possible, but the downside would be in making the Roadshow bsdsocket.library even larger than it currently is.

Hm... may be a solution would be in making the name resolution which bsdsocket.library performs extensible through an API. One could then write a service which hooks into the existing built-in name resolution process to do all the heavy lifting. I'll make a note of that.

Firstly, however, I need to implement the option to prioritize the use of the statically configured DNS server addresses over those added by the DHCP client.
Post Reply