dnsmasq

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigContentTmpl = `` /* 170-byte string literal not displayed */
View Source
const MerlinPostConfMarker = `# GENERATED BY ctrld - EOF`
View Source
const MerlinPostConfPath = "/jffs/scripts/dnsmasq.postconf"
View Source
const MerlinPostConfTmpl = `` /* 1158-byte string literal not displayed */

Variables

This section is empty.

Functions

func ConfTmpl

func ConfTmpl(tmplText string, cfg *ctrld.Config) (string, error)

func FirewallaConfTmpl

func FirewallaConfTmpl(tmplText string, cfg *ctrld.Config) (string, error)

func FirewallaSelfInterfaces

func FirewallaSelfInterfaces() []*net.Interface

FirewallaSelfInterfaces returns list of interfaces that will be configured with default dnsmasq setup on Firewalla.

func InterfaceNameFromConfig

func InterfaceNameFromConfig(filename string) (string, error)

Types

type Upstream

type Upstream struct {
	IP   string
	Port int
}

Jump to

Keyboard shortcuts

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