tuxis-ie / nsedit

DNS Editor working with PowerDNS's new API
GNU General Public License v2.0
199 stars 55 forks source link

Import a new zone feature #111

Open skfigved opened 8 years ago

skfigved commented 8 years ago

Seems this fnction stopped working after updating to 4.01 and nsedit from master branch.

It does not throw any error message, but simply just sets up a blank zone with just the nameservers and SOA. Unable to import any records.

ruben-herold commented 7 years ago

Here the same

tuxis-ie commented 7 years ago

Sorry, missen this one. Will look into this Monday

skfigved commented 7 years ago

I have managed to go around the issue by deleting the NS records before zone import. Not selecting "overwrite nameservers" and just adding these manually after import

tuxis-ie commented 7 years ago

I can't reproduce this... Can you show me the zone and screenshots of when you are trying to do an import?

skfigved commented 7 years ago

test123.com.txt

I have uploaded a sample zone i just created. If i import the zone with "overwrite nameservers" ticket it will just set up a blank zone. If i import them with "overwrite nameservers" unticket. Then it works but i have to manually correct the nameservers to reflect the new ones

skfigved commented 7 years ago

snip1 snip2

Here with screenshots

bjoe2k4 commented 7 years ago

i can confirm this as well, however i don't see it as such big of a problem. In any case you have to type new nameservers, either before or after adding the zone. I would actually recommend to remove the entire feature to overwrite the nameservers.

tuxis-ie commented 7 years ago

I haven't had time to reproduce it yet, but I assume that one usually uses this function when you migrate a zone from other name servers to your, which are usually the same. So the function is very useful.

One thing, do your name servers have trailing dots?

skfigved commented 7 years ago

Yes indeed the function is very useful, and i can sometimes do bulk imports of 20-30 zones at a time. I do have trailing dots on the nameservers

tuxis-ie commented 7 years ago

Multiple zones at a time? How do you do that?

skfigved commented 7 years ago

Apologies, it was badly worded. Not multiple zones at a time. But importing them one at a time