dnslookup

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct{}

API dnslookup

func (API) DNSLookup

func (API) DNSLookup(c *gin.Context)

DNSLookup look up dns

type Request

type Request struct {
	DomainName string `json:"domainName" xml:"domainName" form:"domainName" binding:"required"`
}

Request dns lookup request

type Response

type Response struct {
	DomainName string
	IPAddress  []string
	CNAME      []string
	NS         []string
	MX         []string
	PTR        map[string][]string
	TXT        []string
}

Response dns lookup response

Jump to

Keyboard shortcuts

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