add some random domains and script to list nameservers
This commit is contained in:
parent
80b8766d01
commit
c659995df9
2 changed files with 36 additions and 0 deletions
|
@ -13,8 +13,13 @@
|
|||
"cdn.exposed",
|
||||
"cdn.garden",
|
||||
"cdn.gmbh",
|
||||
"cloudscale.ch",
|
||||
"compass-security.com",
|
||||
"cori.us",
|
||||
"emh.ch",
|
||||
"ergon.ch",
|
||||
"example.com",
|
||||
"exoscale.com",
|
||||
"familie.st",
|
||||
"family.st",
|
||||
"felizian.ch",
|
||||
|
@ -28,15 +33,24 @@
|
|||
"g8.net",
|
||||
"g8.nz",
|
||||
"g8.re",
|
||||
"g8.si",
|
||||
"gr8.click",
|
||||
"gwydi.me",
|
||||
"heller.support",
|
||||
"home.cern",
|
||||
"incline.ch",
|
||||
"liip.ch",
|
||||
"linuxfabrik.ch",
|
||||
"mojang.studio",
|
||||
"nilu.ch",
|
||||
"nqa.ch",
|
||||
"open-systems.com",
|
||||
"oriented.net",
|
||||
"phynecs.com",
|
||||
"poisoned.app",
|
||||
"poisonedapple.ch",
|
||||
"puzzle.ch",
|
||||
"redhat.ch",
|
||||
"rievo.app",
|
||||
"rievo.cc",
|
||||
"rievo.ch",
|
||||
|
@ -104,7 +118,10 @@
|
|||
"switzer.land",
|
||||
"swizer.land",
|
||||
"thehat.ch",
|
||||
"threema.ch",
|
||||
"ti8m.com",
|
||||
"trashcitizen.com",
|
||||
"unlogis.ch",
|
||||
"vshn.ch",
|
||||
"xii.st"
|
||||
]
|
19
cmd/domainchecklist/main.go
Normal file
19
cmd/domainchecklist/main.go
Normal file
|
@ -0,0 +1,19 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"grow.rievo.dev/discordBots/cmd/domaincheckbot/config"
|
||||
"grow.rievo.dev/discordBots/cmd/domaincheckbot/dns"
|
||||
"log"
|
||||
)
|
||||
|
||||
func main() {
|
||||
log.Println("check domains in domains.json")
|
||||
|
||||
for _, domain := range config.Domains {
|
||||
d := dns.CheckDomain(domain)
|
||||
if len(d.NS) > 0 && d.NS[0] == "ns.rievo.ch." {
|
||||
continue
|
||||
}
|
||||
log.Println(dns.CheckDomain(domain))
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue