Frank Chen
Frank Chen

Reputation: 101

Importing zone file from godaddy to AWS encountered this error

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 message

Error parsing zone file: Error in line 38: Invalid address: >>++PARKED1++<< (encountered after 1 correct records) In line: @ 600 IN A >>++PARKED1++<<

Upvotes: 10

Views: 4510

Answers (3)

user3788685
user3788685

Reputation: 3093

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

Upvotes: 6

harsh tibrewal
harsh tibrewal

Reputation: 835

Just remove that line and use import. After the import, you can add the alias to the IP address

Upvotes: 1

Axel
Axel

Reputation: 11

I was stuck exactly here for a while, and I think I might have an answer.

  1. 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

  2. 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..

Upvotes: 1

Related Questions