According to DNS Registrar - ENS Documentation
Submitting proof to DNSSEC Oracle takes up a lot of gas because it is heavy computation work. It will take up even more gas if you submit the first domain under the specific TLD. This is because it submits proof of both your domain and its parent domain(eg:
matoken.live
, as well as.live
). When tested on Ropsten network, it cost 1,663,953 gas
The gas cost is about 1.6M gas units, due to the recursive chain of trust validation of DNSKEY and validation of .xyz and . (root). If we know that
- expiration of .xyz is 2day (172800sec)
- other owners has already validated .xyzâs DNSKEY
It seems a feasible way to reduce the gas cost by only revalidate when DNSKEY and sig are expired. Has there been any discussion about possibly this route?