@june yeah, you can use the ruby console, I use a bit of Python and pipe the output into the ruby console, though you probably have to change it to domainblock, I'm not sure if it's the exact same function
list = open("allowlist.txt", "r")
for line in list.readlines():
if line.strip()[:8] == "https://":
print("DomainAllow.new(domain:'" + line.strip()[8:] + "').save")
else:
print("DomainAllow.new(domain:'" + line.strip() + "').save")
@june you can get the console by running
RAILS_ENV=production bundle exec rails c