Page 1 of 1

lan domain not resolved

Posted: Thu Jun 11, 2020 8:39 pm
by joxborrow
I have set up a network with a router and an access point based on gargoyle. Everything is working fine except for only IP addresses can be used to access resources on the lan. I have set the domain on both the router and the access point to "lan.net" in hopes that (hostname).lan.net would resolve. This is not working though. Any idea what settings I might have wrong? Thanks for any help!

Re: lan domain not resolved

Posted: Thu Jun 11, 2020 9:01 pm
by ispyisail
More information required

Are you using 2 DHCP servers?

How any subnets have you got?

As a rule in basic networks you can only use hostname inside the subnet.

Re: lan domain not resolved

Posted: Thu Jun 11, 2020 9:18 pm
by Lantis
And another question, did the default setting (hostname.lan) work BEFORE you changed it to lan.net?

Re: lan domain not resolved

Posted: Sat Jun 13, 2020 8:29 pm
by joxborrow
I have the router set to use "Default Servers specified by ISP". I have the access point set to "Custom DNS Sever", pointing to my router (191.168.1.1).

I am not sure how many subnets I have. Is there somewhere you might be able to point me to to answer that question?

I did not test the hostname.lan. My network (using just a router) always worked with lan.net and I switched it as part of my initial setup. Should I try switching it back?

Thanks again for the help I am relatively new to this.

Re: lan domain not resolved

Posted: Sat Jun 13, 2020 11:20 pm
by Lantis
So this is a "dumb AP" with connection mode set to "disabled"?
And you also have the Gargoyle DHCP server disabled?

Re: lan domain not resolved

Posted: Sun Jun 14, 2020 5:51 am
by ispyisail
screenshots would help heaps

Re: lan domain not resolved

Posted: Sun Jun 14, 2020 7:08 pm
by joxborrow
I have uploaded some screen shots to the following link. Please let me know if there are any other screen shots that would be helpful. Thx
https://www.dropbox.com/sh/ppafpdgqq3i6 ... 8Qt3a?dl=0

I don't know if this is helpful but the router and the access point names are resolved. It is just other things like the NAS, printer, etc. whose names are not resolved.

Re: lan domain not resolved

Posted: Sun Jun 14, 2020 10:04 pm
by Lantis
You definitely only want a single DHCP server (on the router).
I don't know if that's the only thing that is causing you an issue though.

Re: lan domain not resolved

Posted: Mon Jun 15, 2020 3:10 am
by ispyisail
I don't know how far you want to go with this but the next steep is we need a sketch of you network layout.

Re: lan domain not resolved

Posted: Mon Jun 15, 2020 8:56 am
by RomanHK
I would uncheck the "Enforce DHCP assignments" function for sure.

EDIT: If you use your own NAS and printer (Qnap, Synology, ...) it will be best to assign them a static assignment to a DHCP server. Then you can be sure that the name will be resolved even after restarting the router (as in the case of "ap1").