I got it working. I can view the records, and using the Create xml create a new record set.. but this is where my knowledge stops…
Two things, I can’t seem to modify a record I get this:
SenderInvalidChangeBatch
Tried to create resource record set [name=’vpn.amelvin.co.uk.’, type=’CNAME’] but it already exists662bd0af-a9bc-11e3-ad76-25e436c9fcb4
I can create a new record but not modify one. so this is a start..
The second thing is that you xml script has the amazon.public.dns just written in there.. How do you automate it so that the xml file picks up the current address of the amazon instance?
If I can get that working then it would be great!
Then I just need the VPN to work in ubuntu 13 and I’m set!
]]>Now I get
Unable to determine service/operation name to be authorized
not really sure how to configure the url… part
]]>Im stuck at how to write the key + secret key to the file.. i get the following error
File “./AWSDNSAuth.py”, line 160, in
sys.exit(main())
File “./AWSDNSAuth.py”, line 148, in main
raise(e)
File “./AWSDNSAuth.py”, line 104, in main
config.read(args.credentials)
File “/usr/lib/python3.3/configparser.py”, line 689, in read
self._read(fp, filename)
File “/usr/lib/python3.3/configparser.py”, line 1075, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: /home/ubuntu/aws/aws.key, line: 1
‘xxxxxxxxxxxxxxxxx’
-:1: parser error : Document is empty
^
-:1: parser error : Start tag expected, ‘<' not found
^
]]>