How We Protected Our HNS Site from DNS Hijackers
Posted: Sat Feb 13, 2021 6:27 am
So our site was recently "DNS hijacked" - some other .com domain (not sure why) used our A Record IP address and pointed to it - and it started to out-rank our site - as it is an HNS site and not in Google "natively" (except for HNS.to )
Luckily we have a great community of kind developers - and between a few of them - came up with an answer in our Telegram group:
(our Telegram group, and others can be found on this forum post - http://handshake.mercenary/viewtopic.php?p=33#p33 )
Manly on the team implemented it and now if you visit that domain, it redirects to the HNS.to of Handshake Mercenary.
A bit annoying - but part of what we are trying to do here is teach the community on how to build sites on Handshake, so this is part of the process of being an early adopter....
hope this can help others.
Luckily we have a great community of kind developers - and between a few of them - came up with an answer in our Telegram group:
(our Telegram group, and others can be found on this forum post - http://handshake.mercenary/viewtopic.php?p=33#p33 )
Brandon Dees, [Feb 12, 2021 at 4:03:35 PM]:
yeah ok so then there's probably not any real damage that could be done AFAIK
well, maybe in terms of SEO value
but anyway, nothing to panic over
mike michelini, [Feb 12, 2021 at 5:37:11 PM]:
Ya, it is ranking in Google
I mean when we setup on hns we knew we were losing seo potential, but believe it is for greater good of proof of concept and adoption
Brandon Dees, [Feb 12, 2021 at 5:40:28 PM]:
yeah i mean hns domains aren't being crawled directly anyway, but if/when engines do start crawling them, it'll hurt their reputation if the content is already considered "original" on some other site
mike michelini, [Feb 12, 2021 at 7:09:39 PM]:
I can do a dmca takedown request to the name cheap owner of that domain
Brandon Dees, [Feb 12, 2021 at 7:11:11 PM]:
the irony
Rithvik Vibhu, [Feb 12, 2021 at 7:13:11 PM]:
Heh
See if you can add javascript code to phpbb. Adding this should be enough:
if (window.location.hostname != 'handshake.mercenary' && window.location.hostname != 'handshake.mercenary.hns.to') window.location.href = 'http://handshake.mercenary.hns.to/'
Manly on the team implemented it and now if you visit that domain, it redirects to the HNS.to of Handshake Mercenary.
A bit annoying - but part of what we are trying to do here is teach the community on how to build sites on Handshake, so this is part of the process of being an early adopter....
hope this can help others.