domain2list

package module
v0.0.0-...-9964801 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2022 License: MIT Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Domain-2-IP_LIST

Get all the ips of a domain to a list.txt

Run

go run ./cmd/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AAAA

func AAAA(domain, dnsIp string) ([]string, error)

get AAAA records for a domain

func CreateFileIfNotExists

func CreateFileIfNotExists(filename string) error

create file txt if not exists

func GetAAAARecordsNTimes

func GetAAAARecordsNTimes(domain string, n int) ([]string, error)

get N times AAAA records for a domain

func ReadLines

func ReadLines(filename string) ([]string, error)

read all lines from file and return a slice of string

func Unique

func Unique(intSlice []string) []string

from array get onley unique values

func WriteToFile

func WriteToFile(filename string, data []string) error

write to file slice string line by line

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址