uci show network; uci show dhcp; ls -l /etc/resolv.* /tmp/resolv.*; head -n -0 /etc/resolv.* /tmp/resolv.*
Are the hosts using OpenWrt as a nameserver or have configured different ones? (like OpenDNS, GoogleDNS, etc)
Also did you restart dnsmasq to apply the changes?
When you search lorikku.be, you get a 404 error (page not found)
When you search for that IP you also get the EXACT SAME error 404
So my conclusion was that nothing was happening, but it's just the page that is identical on both websites...
Sorry that I wasted your time, I have another question now though.
There is probably no way with DNS only, but if there is, how can I change the URL so it redirects to a whole different URL? Since the DNS only changes the domain, total URL manipulation is not possible right?
DNS hostnames and URLs are on different levels of abstraction. For example, the DNS never sees anything after the first /. It would require altering URLs in packets, which is impossible with HTTPS.
This kinda config is usually done on the web server or web page. See:
So if I wanted to actually change the URL, I would have to redirect the DNS to a website I made myself, and by using an automatic redirect on my website I could pretty much change the whole destination when someone tries to connect to 'lorikku.be'
I guess...it's hard to determine since you haven't explained what you're actually trying to accomplish or solve.
Since you mentioned a 404 error, I'm led to believe that you're trying to steer traffic to a web server you don't control, and is not configured to respond to 'lorikku.be'.
Your configuration is correct. If your hosts don't have a separate setting for NS (is the same with DNS), then they are using the OpenWrt for resolver.
Make sure you have restarted the dnsmasq service and run the following on OpenWrt host [www.lorikku.be](http://www.lorikku.be) and nslookup [www.lorikku.be](http://www.lorikku.be) on the hosts.
So I'm trying to redirect everyone on the network to 192.168.1.114 on port 80, but it doesn't work.
Every time I try to access an HTTP site (including the OpenWrt LuCi interface), it just times out.
I've tried changing the ports from 80 to 443 for HTTPS, but just results in HTTPS sites timing out.