I am trying to upload zone file from godaddy to AWS, when I copy paste the zone file content to AWS and click upload, the following error appeared:
Error parsing zone file: Error in line 38: Invalid address: >>++PARKED1++<< (encountered after 1 correct records) In line: @ 600 IN A >>++PARKED1++<<
Just remove that line and use import. After the import, you can add the alias to the IP address
It looks like your domain was 'parked' with GoDaddy at the time you tried to export you zone file. >>++PARKED1++<<
is an internal variable which GoDaddy use in there DNS Db.
The actual record is an A
record and you should just replace >>++PARKED1++<<
with the external IP address of your hosting provider. (e.g 1.1.1.1)
After the change you should expect that line of the config file to read as;
@ 600 IN A 1.1.1.1
(For example.)
The GoDaddy help page also says;
The exported data follows the BIND zone file format and RFC 1035. You must manually edit the exported data before a BIND DNS server can use it directly. These edits will differ based on the requirements of the server to which you are uploading the exported file.
But sadly it does not provide any useful pointers to the reader as to what exactly needs to be changed...
If you are mapping to an elasticbeanstalk.com
endpoint then you shouldn't use an IP address (as they may change) and instead change the record type to ALIAS
and then add the name of your endpoint xxxx.elasticbeanstalk.com
I was stuck exactly here for a while, and I think I might have an answer.
In place of the -parked- / missing 'a record' value, use the IP of the current application with a temporary adress. For example, the IP address of example.eu-north-1.elasticbeanstalk.com
If unknown this IP address can also be found at www.whatsmydns.net. Just type in the temporary address (e.g. the EB url address above) and the IP will show. I.e. this is the -A Record- to use in place of the word -Parked-... copy & paste.
A second update on this.. After a couple of days I learnt that method above did not work too well. Essentially, the A - IPv4 address of my EB app kept changing every so often.
Instead I updated the A Record to ALIAS (by ticking Alias = Yes) then entered the address of my EB app. Example xxxxxx.elasticbeanstalk.com
So far this has worked..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With