Versions in this module Expand all Collapse all v1 v1.8.26 Dec 6, 2024 Changes in this version + var File_app_dns_fakedns_fakedns_proto protoreflect.FileDescriptor + type FakeDnsPool struct + IpPool string + LruSize int64 + func (*FakeDnsPool) Descriptor() ([]byte, []int) + func (*FakeDnsPool) ProtoMessage() + func (x *FakeDnsPool) GetIpPool() string + func (x *FakeDnsPool) GetLruSize() int64 + func (x *FakeDnsPool) ProtoReflect() protoreflect.Message + func (x *FakeDnsPool) Reset() + func (x *FakeDnsPool) String() string + type FakeDnsPoolMulti struct + Pools []*FakeDnsPool + func (*FakeDnsPoolMulti) Descriptor() ([]byte, []int) + func (*FakeDnsPoolMulti) ProtoMessage() + func (x *FakeDnsPoolMulti) GetPools() []*FakeDnsPool + func (x *FakeDnsPoolMulti) ProtoReflect() protoreflect.Message + func (x *FakeDnsPoolMulti) Reset() + func (x *FakeDnsPoolMulti) String() string + type Holder struct + func NewFakeDNSHolder() (*Holder, error) + func NewFakeDNSHolderConfigOnly(conf *FakeDnsPool) (*Holder, error) + func (*Holder) Type() interface{} + func (fkdns *Holder) Close() error + func (fkdns *Holder) GetDomainFromFakeDNS(ip net.Address) string + func (fkdns *Holder) GetFakeIPForDomain(domain string) []net.Address + func (fkdns *Holder) GetFakeIPForDomain3(domain string, ipv4, ipv6 bool) []net.Address + func (fkdns *Holder) IsIPInIPPool(ip net.Address) bool + func (fkdns *Holder) Start() error + type HolderMulti struct + func NewFakeDNSHolderMulti(conf *FakeDnsPoolMulti) (*HolderMulti, error) + func (h *HolderMulti) Close() error + func (h *HolderMulti) GetDomainFromFakeDNS(ip net.Address) string + func (h *HolderMulti) GetFakeIPForDomain(domain string) []net.Address + func (h *HolderMulti) GetFakeIPForDomain3(domain string, ipv4, ipv6 bool) []net.Address + func (h *HolderMulti) IsIPInIPPool(ip net.Address) bool + func (h *HolderMulti) Start() error + func (h *HolderMulti) Type() interface{} Other modules containing this package github.com/morooi/xray-core/v24