Import tld nameservers #2726

This commit is contained in:
Martin Lensment 2015-06-22 13:27:09 +03:00
parent 4e03a65e8d
commit b9a7f63d75
4 changed files with 248 additions and 2 deletions

View file

@ -46,7 +46,7 @@ namespace :zonefile do
SELECT concat(d.name_puny, '. IN NS ', ns.hostname, '.')
FROM domains d
JOIN nameservers ns ON ns.domain_id = d.id
WHERE d.name LIKE include_filter AND d.name NOT LIKE exclude_filter
WHERE d.name LIKE include_filter AND d.name NOT LIKE exclude_filter OR d.name = i_origin
ORDER BY d.name
),
chr(10)