removing a subdomain 'www' from a URL
-
Check chrome://net-internals/#dns and query domain
chrome://flags/#enable-async-dns
even if is Disabled / Reloaded ...does not helps.As I wrote, the problem is that the web browser removes www and into our local DNS server goes from client request info21.cz
For info21.cz we have not PTR (static A record) only for www.info21.cz, so from logic DNS does not know where to point.
To make PRT for info21.cz is not god, because in some cases DNS has tendency point there any request about domain info21.cz
I need explicitely define where is each subdomain. -
@ZAJDAN Secure DNS is off?
-
I tested with a subdomain www and added to /etc/hosts entry www.example.org to resolve to 192.168.0.100, and Vivaldi did not redirect to example.org. example.org will be visited in WWW and www.example.org in webserver of LAN.
-
@DoctorG
Secure DNS - do You mean some settings in Chrome?
If yes, where I can find it please?Linux:
/etc/hosts
Windows:
C:\Windows\System32\drivers\etc\hostsWhen client asks some domain, system firstly look into this file and when is not found there, then asks DNS server.
But I do not want to add such record on each client manually.
Only what I can think about is create some domain rule to add for each client automatically.But anyway I stay for my opinion. Web browser should at least be able to disable such behavior 'remove subdomain www' .
-
@ZAJDAN In Vivaldi at chrome://settings/security
-
And you need to know that Chromium can use IPv4 and IPv6 for DNS.
-
@DoctorG said in removing a subdomain 'www' from a URL:
chrome://settings/security
in my case is Secure DNS disabled.
-
Hints for you:
- Sure not to have that because of browser cache
- Deleted DNS cache on OS and host cache at vivaldi://net-internals/#dns
- Delete Domain from HSTS cache at vivaldi://net-internals/#hsts
-
@DoctorG said in removing a subdomain 'www' from a URL:
Hints for you:
- Sure not to have that because of browser cache
- Deleted DNS cache on OS and host cache at vivaldi://net-internals/#dns
- Delete Domain from HSTS cache at vivaldi://net-internals/#hsts
Thanks for the tips I did it, but it does not solved the problem that browser still remove the www and to DNS goes query info21.cz instead of www.info21.cz
I am sure now, until the Web Browser Vivaldi will be removing the www , this case is not solvable.
In our local network the DNS request must be for www.info21.cz -
Sad, but i do not have your infrastructure and test environment. I can not reproduce it with my local Bind9 DNS on Linux.
-
@DoctorG
If you will have an interest, we can do remote session and I will show You the behavior in our environment. -
@ZAJDAN The problem for me is that i can not replicate your issue on a test system without knowing about your local www subdomain and DNS of domain, the local web srver config.
And if testers can not check your issue, it is not easy to tell what is going wrong with Vivaldi. -
@ZAJDAN You can try to report issue to Vivaldi bug tracker if you can tell the Vivaldi devs how to replicate the issue, and give them a screen recording, may be a complete browser profile.