Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Sep 05, 2010 4:53 pm 
Offline
Junior Member

Joined: Fri Aug 27, 2010 4:42 am
Posts: 48
I think it would be cool if you guys added a feature that allowed you to "mass" edit a zone for instance if you clicked "edit all" it would let you make changes to all records and then click save or update and it would update all the records at once.

This feature is pretty common among most dns management systems.


Top
   
 Post subject:
PostPosted: Sun Sep 05, 2010 6:10 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
http://www.everydns.com/faq/primary-domain/CNAME-format


Top
   
 Post subject:
PostPosted: Mon Sep 06, 2010 8:07 am 
Offline
Junior Member

Joined: Fri Aug 27, 2010 4:42 am
Posts: 48
that doesnt address mass editing though


Top
   
 Post subject:
PostPosted: Mon Sep 06, 2010 1:02 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Usually, when I need to do a mass edit, I go in via the API. Something like this will do a global search and replace for every A record of 1.1.1.1:

Code:
#!/usr/bin/python
import api
instance = api.Api(key="asdfasdf")

oldip = '1.1.1.1'
newip = '2.2.2.2'

for domain in instance.domain_list():
    if domain['TYPE'] == 'master':
        print "Updating %s (%i)..." % (domain['DOMAIN'], domain['DOMAINID'])
        for resource in instance.domain_resource_list(domainid=domain['DOMAINID']):
            if resource['TYPE'] == 'A' and resource['TARGET'] == oldip:
                print 'Old A Record Found: %s.%s (%i)' % (resource['NAME'], domain['DOMAIN'], resource['RESOURCEID'])
                newresid = instance.domain_resource_create(domainid=domain['DOMAINID'], type='A', name=resource['NAME'], target=newip)
                print '  Created resource %i' % newresid['ResourceID']
                oldresid = instance.domain_resource_delete(domainid=domain['DOMAINID'], resourceid=resource['RESOURCEID'])
                print '  Deleted resource %i' % oldresid['ResourceID']


I, for one, wouldn't mind some sort of "macro" thing, like CNAMEs but handled on the server side, so I could do something like:

Code:
www IN A %%webserver1%%


and it'll replace %%webserver1%% with an IP address. But, well, it's very rare I need to do this and an API loop does just fine when I do, so I can roll with it :-)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Tue Sep 07, 2010 9:21 am 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
Hoopy is referring to using these bindings, by the way. Interactive shell A++ would use again.

You commit to it and didn't even link it? Do I gotta do everything around here?

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
 Post subject:
PostPosted: Tue Sep 07, 2010 4:50 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Oh, right; odds are good "import api" doesn't Do The Right Thing by default on some older systems. :-)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Tue Oct 05, 2010 7:22 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
Slightly dated, but thought I'd chime in that I'd also appreciate a more bulk editing approach to the DNS Manager. For me, I'm ok with it not being for an entire zone at once, but it would helpful to at least be able to manage multiple records of a single type at once. For example, inserting all the MX records needed for Google Apps. That's sort of painful right now.

With another domain I do through Network Solutions, you are presented with a single bulk entry form for a given record type, you update and/or add in as many records as you want, then get a single confirmation screen summarizing the changes, which then get committed.

I know I could whip something up through the API, or slave zones to my Linode for local editing, but that need not mean that having some bulk capabilities in the web interface wouldn't still be helpful.

-- David


Top
   
 Post subject:
PostPosted: Tue Oct 19, 2010 6:47 am 
Offline
Junior Member

Joined: Fri Aug 27, 2010 4:42 am
Posts: 48
Its pretty much standard for all DNS Management systems whether they be registrar level or provider level to offer mass editing....

I also would like to see quicker updates to the records..... 15 minutes is a long time when you consider most other registrars and providers send the updated records almost instantly with no wait period.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group