Update main.py

Change the records generated into DNS record format.