{"action":"created","issue":{"url":"https://api.github.com/repos/msimerson/NicTool/issues/99","labels_url":"https://api.github.com/repos/msimerson/NicTool/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/msimerson/NicTool/issues/99/comments","events_url":"https://api.github.com/repos/msimerson/NicTool/issues/99/events","html_url":"https://github.com/msimerson/NicTool/issues/99","id":100523734,"number":99,"title":"nt_import.pl does not import reverse delegated nameservers","user":{"login":"pertoft","id":3786972,"avatar_url":"https://avatars.githubusercontent.com/u/3786972?v=3","gravatar_id":"","url":"https://api.github.com/users/pertoft","html_url":"https://github.com/pertoft","followers_url":"https://api.github.com/users/pertoft/followers","following_url":"https://api.github.com/users/pertoft/following{/other_user}","gists_url":"https://api.github.com/users/pertoft/gists{/gist_id}","starred_url":"https://api.github.com/users/pertoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pertoft/subscriptions","organizations_url":"https://api.github.com/users/pertoft/orgs","repos_url":"https://api.github.com/users/pertoft/repos","events_url":"https://api.github.com/users/pertoft/events{/privacy}","received_events_url":"https://api.github.com/users/pertoft/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T11:39:23Z","updated_at":"2015-08-12T13:56:48Z","closed_at":"2015-08-12T12:59:35Z","body":"Hi,\r\n\r\nnt_import.pl does not import records for delegated dns servers. \r\n\r\n\r\nperl /usr/local/nictool/server/bin/nt_import.pl --verbose 1 --nameserver=1 --user=root --pass=root --type=tinydns --group_id=1 --file /home/pto/24.26.193.in-addr.arpa.zone\r\n\r\n24.26.193.in-addr.arpa.zone\r\n.24.26.193.in-addr.arpa::a.ns.sonofon.dk\r\n.24.26.193.in-addr.arpa::b.ns.sonofon.dk\r\n.24.26.193.in-addr.arpa::c.ns.sonofon.dk\r\n&0.24.26.193.in-addr.arpa::ns1.dce-data.dk\r\n&0.24.26.193.in-addr.arpa::ns2.dce-data.dk\r\n&1.24.26.193.in-addr.arpa::ns1.dce-data.dk\r\n&1.24.26.193.in-addr.arpa::ns2.dce-data.dk\r\n&2.24.26.193.in-addr.arpa::ns1.dce-data.dk\r\n&2.24.26.193.in-addr.arpa::ns2.dce-data.dk\r\n&3.24.26.193.in-addr.arpa::ns1.dce-data.dk\r\n&3.24.26.193.in-addr.arpa::ns2.dce-data.dk\r\n...\r\n\r\n\r\nOutput from nt_import.pl:\r\nroot@amnesio:/etc/bind/telenor# perl /usr/local/nictool/server/bin/nt_import.pl --verbose 1 --nameserver=4,5,6 --user=root --pass=telenor1 --type=tinydns --group_id=1 --file /home/pto/abdns01/service/tinydns/root/zones/24.26.193.in-addr.arpa.zone\r\nloading type: tinydns\r\n$VAR1 = {\r\n          'deleted' => '0',\r\n          'email' => '',\r\n          'error_code' => '200',\r\n          'error_desc' => '',\r\n          'error_msg' => 'OK',\r\n          'first_name' => 'Root',\r\n          'group_create' => '1',\r\n          'group_delete' => '1',\r\n          'group_write' => '1',\r\n          'groupname' => 'NicTool',\r\n          'inherit_group_permissions' => '1',\r\n          'inherit_perm' => undef,\r\n          'is_admin' => undef,\r\n          'last_name' => 'User',\r\n          'nameserver_create' => '1',\r\n          'nameserver_delete' => '1',\r\n          'nameserver_write' => '1',\r\n          'nt_group_id' => '1',\r\n          'nt_user_id' => '1',\r\n          'nt_user_session' => 'xxxx',\r\n          'pass_salt' => 'xxx',\r\n          'self_write' => '1',\r\n          'usable_ns' => '2',\r\n          'user_create' => '1',\r\n          'user_delete' => '1',\r\n          'user_write' => '1',\r\n          'username' => 'root',\r\n          'zone_create' => '1',\r\n          'zone_delegate' => '1',\r\n          'zone_delete' => '1',\r\n          'zone_write' => '1',\r\n          'zonerecord_create' => '1',\r\n          'zonerecord_delegate' => '1',\r\n          'zonerecord_delete' => '1',\r\n          'zonerecord_write' => '1'\r\n        };\r\nnameservers: 1\r\n\r\nStarting import using: /home/pto/24.26.193.in-addr.arpa.zone\r\nSOA: 24.26.193.in-addr.arpa::a.ns.sonofon.dk\r\nzid: 11641\r\nNS : 24.26.193.in-addr.arpa::a.ns.sonofon.dk\r\nSOA: 24.26.193.in-addr.arpa::b.ns.sonofon.dk\r\nzid: 11641\r\nNS : 24.26.193.in-addr.arpa::b.ns.sonofon.dk\r\nSOA: 24.26.193.in-addr.arpa::c.ns.sonofon.dk\r\nzid: 11641\r\nNS : 24.26.193.in-addr.arpa::c.ns.sonofon.dk\r\nNS : 0.24.26.193.in-addr.arpa::ns1.dce-data.dk\r\nNS : 0.24.26.193.in-addr.arpa::ns2.dce-data.dk\r\nNS : 1.24.26.193.in-addr.arpa::ns1.dce-data.dk\r\nNS : 1.24.26.193.in-addr.arpa::ns2.dce-data.dk\r\nNS : 2.24.26.193.in-addr.arpa::ns1.dce-data.dk\r\nNS : 2.24.26.193.in-addr.arpa::ns2.dce-data.dk\r\nNS : 3.24.26.193.in-addr.arpa::ns1.dce-data.dk\r\nNS : 3.24.26.193.in-addr.arpa::ns2.dce-data.dk\r\n\r\n\r\nIt seems OK, but nothing is imported into under the zone?\r\nAny ideas to whats wrong?"},"comment":{"url":"https://api.github.com/repos/msimerson/NicTool/issues/comments/130314245","html_url":"https://github.com/msimerson/NicTool/issues/99#issuecomment-130314245","issue_url":"https://api.github.com/repos/msimerson/NicTool/issues/99","id":130314245,"user":{"login":"pertoft","id":3786972,"avatar_url":"https://avatars.githubusercontent.com/u/3786972?v=3","gravatar_id":"","url":"https://api.github.com/users/pertoft","html_url":"https://github.com/pertoft","followers_url":"https://api.github.com/users/pertoft/followers","following_url":"https://api.github.com/users/pertoft/following{/other_user}","gists_url":"https://api.github.com/users/pertoft/gists{/gist_id}","starred_url":"https://api.github.com/users/pertoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pertoft/subscriptions","organizations_url":"https://api.github.com/users/pertoft/orgs","repos_url":"https://api.github.com/users/pertoft/repos","events_url":"https://api.github.com/users/pertoft/events{/privacy}","received_events_url":"https://api.github.com/users/pertoft/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T13:56:48Z","updated_at":"2015-08-12T13:56:48Z","body":"I have updated to the latst from git and the import work as expected."}}