Live data from Hacker News

Tell HN: Please update your DNS records when abandoning servers

news.ycombinator.com

31–40 of 69 posts

Re: Tell HN: Please update your DNS records when abandoning servers

#31
post #8

So obvious in retrospect, and so little talked about. Could something be done with the DNS / IP protocols that would improve this?

In the protocols themselves I wouldn't think so because how would it know you no longer paid for that ip.

Something digitalocean could do? Once an ip is assigned to another customer either: warn, warn/disable dns, change dns automatically

Re: Tell HN: Please update your DNS records when abandoning servers

#33
post #30

I once inherited an ip block the previous owner never pointed his SEO network domains away from. I setup a wildcard, captured all the traffic and made good coin for quite a while.

Care to share how exactly you earned from that? :) SEO Network domains (or link blogs) are usually built for Google crawlers, not actual human eyeballs. They don’t rank high, they boost the rank of other sites.

Re: Tell HN: Please update your DNS records when abandoning servers

#34
post #23
post #19

Earlier 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…

Just curious - can you explain #2 ? I get that someone can register some freebitcoin.xyz and point to your IP, but the content is still controlled by you, right? What is the security angle here if your host returned a static index.html to any host? Some CSRF?

Edit: only asking for cases where #1 does not apply - that is you don’t have domains or sub-domains pointing at rogue IPs

Re: Tell HN: Please update your DNS records when abandoning servers

#35
post #8

So obvious in retrospect, and so little talked about. Could something be done with the DNS / IP protocols that would improve this?

The owner of the domain pointed the traffic where he wanted it to go.

The protocols are working as intended.

Re: Tell HN: Please update your DNS records when abandoning servers

#36
post #20
post #6

I don't see why you should care. Don't allow the requests from non hosted domains on your server. You don't control the DNS' you can't rely on people to updated them.

The domain owner should care, because OP could misuse the domain.

Right, the domain owner should care. Not OP.

Re: Tell HN: Please update your DNS records when abandoning servers

#38
post #4

Yep. A few years ago I had a server on DigitalOcean and stopped using it. I forgot to remove the A record for it on a sub-domain connected to my main site and suddenly a sub-domain on my main site was serving ~400,000 pirated PDFs because the old server's IP address was in control by someone else. I wrote about it here: https://nickjanetakis.com/blog/a-recycled-ip-address-caused-... And it was discussed on HN back th…

Although in OP's case someone wanted to buy the domain, so maybe don't update your DNS records, in case your subdomain becomes worth a lot of cash?

I mean hell, create a bunch of random bogus A records too just in case any of them wins the lottery ticket. A records are free, after all.

Re: Tell HN: Please update your DNS records when abandoning servers

#39
post #34
post #23

Earlier quoted context omitted.

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…

Just curious - can you explain #2 ? I get that someone can register some freebitcoin.xyz and point to your IP, but the content is still controlled by you, right? What is the security angle here if your host returned a static index.html to any host? Some CSRF? Edit: only asking for cases where #1 does not apply - that is you don’t have domains or sub-domains pointing at rogue IPs

If it's just an empty placeholder, not much. if it's your actual site or app there could be various issues, e.g. with search engines, people actually using/being tricked into using the app through the wrong domain and having cookies associated wrongly, bad content on subdomains being associated with you, ...

Re: Tell HN: Please update your DNS records when abandoning servers

#40
This is a common issue in AWS too. User sets up a Route53 entry pointed at an S3 bucket, then later deletes the bucket but not the domain. Someone else then creates the same bucket again in their account (bucket names are globally reserved) and suddenly they can host content on a domain they don't own.
Post reply on HN