[Nodogsplash] Redirect when there is no Internet connection.

Moritz Warning moritzwarning at web.de
Thu Jan 22 06:57:28 UTC 2015


Yes, that is right.

When there is no Internet connection, then there is no DNS.
Th Browser fails to resolve the DNS record and won't make
a http request.

When there is no Internet connection, you could configure your
DNS server to resolve everything to a specific IP address.
Though, this is not really recommended. :>

On 01/22/2015 07:34 AM, edwin wrote:
> Hi, 
> 
>  
> 
> I use the nodosplash in the openwrt, it works quite well. but there is an
> annoying issue. The redirect doesn't work when there is no network
> connection. 
> 
>  
> 
> For example, if there is internet connection, I type http://www.apple.com/ .
> it will direct to splash page first. 
> 
>  
> 
> But if there is no internet connection, the www.apple.com won't be parse and
> the browser don't direct to the splash page. 
> 
> If I type some ip, for example 2.2.2.2, it will direct to the splash page in
> this case. 
> 
>  
> 
> The reason should because the browser doesn't issue a 80 request because it
> don't have the ip address? 
> 
>  
> 
> I wonder if it is possible to solve this in nodogsplash or has to configure
> other applications in OpenWrt? 
> 
>  
> 
> Best Regards
> Edwin
> 
> 
> 
>  
> 
> 
> 
> 
> _______________________________________________
> Nodogsplash mailing list
> Nodogsplash at ml.ninux.org
> http://ml.ninux.org/mailman/listinfo/nodogsplash
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://ml.ninux.org/pipermail/nodogsplash/attachments/20150122/51bd6920/attachment.pgp>


More information about the Nodogsplash mailing list