Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.15 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.15 KB

DNS Zone File Creator 🌐

DNS Zone File Creator is an application written in Go that queries DNS records for a given domain and writes the results to a DNS zone file. This project aims to simplify the process of getting DNS records and converting them into a well-structured zone file.

🚀 Getting Started

Prerequisites

  • Go v1.16 or later. Installation instructions can be found here.

Installation

  1. Clone the repository:
    git clone https://github.com/enesconf/dnszonefile.git
    cd dnszonefile
  2. Run the program:
    go run main.go --domain yourdomain.com

🔍 What Does It Do?

DNS Zone File Creator generates a zone file named yourdomain.com.zone. This file contains DNS records for the domain and its subdomains.

🛠️ Customizing Subdomains

By default, DNS Zone File Creator queries a list of common subdomains (www, mail, ftp). If you want to customize this list, modify the subdomains slice in main.go.