I agree, but there's something related which I feel is very weird and I wonder if I'm the rule or the exception: I have close to 100 domains to my name(for relatable reasons, i.e. "hey I have a wix site can you please add a domain to it, idk how") in addition to a dozen servers. Some of those domains are completely unused but could be pretty valuable to some people. No one has ever contacted me about either one of th…
Tell HN: Please update your DNS records when abandoning servers
21–30 of 69 posts
Re: Tell HN: Please update your DNS records when abandoning servers
#22While domain registrants should certainly be careful that their DNS records point to trusted servers only and should definitely remove any stale DNS entries, we should also configure our web-servers to return successful response for specific hostnames only and error/no response for everything else. Here is roughly how the configuration for, say, https://example.com/ , would look like: sudo mkdir /etc/nginx/ssl sudo o…
The reverse is the problem here: your domain, somebody elses server
Why would my domain point to somebody else's server?
The original post says, "It seems that the owner had it pointed to a Linode instance/IP which was then abandoned and was subsequently "inherited" by me."
As per my reading of this, it sounds like the domain name is owned by someone else that points to an IP address of the poster's server. My comment was meant for a scenario like this where if someone else's domain name points to my server's IP address and a visitor visits my web server via that domain name, then my server will close the connection without response.
Re: Tell HN: Please update your DNS records when abandoning servers
#23While domain registrants should certainly be careful that their DNS records point to trusted servers only and should definitely remove any stale DNS entries, we should also configure our web-servers to return successful response for specific hostnames only and error/no response for everything else. Here is roughly how the configuration for, say, https://example.com/ , would look like: sudo mkdir /etc/nginx/ssl sudo o…
that doesn't prevent the "a domain you own points at someone elses server and they can do unsavory things with it". (Especially bad if it's a subdomain, or a domain linked to one of your others.) it's not for OPs sake, but for the domain owners sake.
Webmasters we have two things in control:
1. Their domain name. It should point to trusted servers only.
2. Their web server. It should be configured to return successful responses only for domain names they care about and no response/error for everything else.
Re: Tell HN: Please update your DNS records when abandoning servers
#24While domain registrants should certainly be careful that their DNS records point to trusted servers only and should definitely remove any stale DNS entries, we should also configure our web-servers to return successful response for specific hostnames only and error/no response for everything else. Here is roughly how the configuration for, say, https://example.com/ , would look like: sudo mkdir /etc/nginx/ssl sudo o…
You can't: the web server has to accept the connection to know the hostname. The best you can do is close the connection immediately without sending a response if it's an unknown hostname. I believe that at least with Apache and nginx doing this requires using a non-default module.
Re: Tell HN: Please update your DNS records when abandoning servers
#25On a related note, you should also set proper DNS on domains you do not use! https://www.gov.uk/guidance/protect-domains-that-dont-send-e...
Re: Tell HN: Please update your DNS records when abandoning servers
#26Earlier quoted context omitted.
The reverse is the problem here: your domain, somebody elses server
> The reverse is the problem here: your domain, somebody elses server Why would my domain point to somebody else's server? The original post says, "It seems that the owner had it pointed to a Linode instance/IP which was then abandoned and was subsequently "inherited" by me." As per my reading of this, it sounds like the domain name is owned by someone else that points to an IP address of the poster's server. My comm…
The owner of the domain should have been more careful to delete their A records once they no longer owned the IP address. IPv4 addresses are finite and it's not surprising for a housing provider to recycle them.
Re: Tell HN: Please update your DNS records when abandoning servers
#27Earlier quoted context omitted.
The reverse is the problem here: your domain, somebody elses server
> The reverse is the problem here: your domain, somebody elses server Why would my domain point to somebody else's server? The original post says, "It seems that the owner had it pointed to a Linode instance/IP which was then abandoned and was subsequently "inherited" by me." As per my reading of this, it sounds like the domain name is owned by someone else that points to an IP address of the poster's server. My comm…
answers the "Why would my domain point to somebody else's server?", doesn't it?
Re: Tell HN: Please update your DNS records when abandoning servers
#28Earlier quoted context omitted.
that doesn't prevent the "a domain you own points at someone elses server and they can do unsavory things with it". (Especially bad if it's a subdomain, or a domain linked to one of your others.) it's not for OPs sake, but for the domain owners sake.
My domain name is under my control and therefore should not point to servers I do not trust. If one's domain name points to an untrusted server, a very fundamental mistake has been made and no amount of configuration can fix the issues associated with it. Webmasters we have two things in control: 1. Their domain name. It should point to trusted servers only. 2. Their web server. It should be configured to return succ…
Re: Tell HN: Please update your DNS records when abandoning servers
#29Earlier quoted context omitted.
> The reverse is the problem here: your domain, somebody elses server Why would my domain point to somebody else's server? The original post says, "It seems that the owner had it pointed to a Linode instance/IP which was then abandoned and was subsequently "inherited" by me." As per my reading of this, it sounds like the domain name is owned by someone else that points to an IP address of the poster's server. My comm…
The OP is putting himself in the domain owner's shoes. It's a mild inconvenience for the OP, but what if the OP was a bad guy? He could have setup a site that looked like the old one saying "unstoppable is back! Log in and update your payment info!" but stole credit card info or passwords. The owner of the domain should have been more careful to delete their A records once they no longer owned the IP address. IPv4 ad…
Yes, if a domain points to IP addresses of servers we do not control, many bad things can happen. Here is a really interesting security disclosure related to stale DNS entries that comes to my mind: https://thehackernews.com/2019/04/subdomain-microsoft-azure.... .