Net::DRI::DRD::NORID - NORID (.NO) policies for Net::DRI
Please see the README file for details.
For now, support questions should be sent to:
Please also see the SUPPORT file in the distribution.
Trond Haugen <email@example.com>
Copyright (c) 2008-2010 UNINETT Norid AS, <http://www.norid.no>, Trond Haugen <firstname.lastname@example.org> (c) 2011,2013,2016 Patrick Mevzek <email@example.com>. All rights reserved. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
See the LICENSE file that comes with this distribution for more details.
.NO allows country codes in labels on the left, so we need to subclass the verify_name_domain to avoid the CCA2 table check.
We then clone the .AT code also here, but remove the dot-count and check in 'check_name'.
However, we do not subclass the 'is_my_tld' as .AT has done, but we then have to call it in a non-strict mode to allow for domain names with multiple labels.
The combination should then allow multiple labels and also to use CC-codes in lables, like 'se.vgs.no'