Documentation ¶
Index ¶
- func DeleteRecord(hostname string, zone string, enableWildcard bool) error
- func GetCallerIP(r *http.Request) (string, error)
- func GetIPType(ipAddr string) string
- func ShrinkUserAgent(agent string) string
- func UpdateRecord(hostname string, target string, addrType string, zone string, ttl int, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteRecord ¶
DeleteRecord builds a nsupdate file and deletes a record by executing it with nsupdate.
func GetCallerIP ¶
GetCallerIP searches for the "real" IP senders has actually. If its a private address we won't use it.
func ShrinkUserAgent ¶
ShrinkUserAgent simply cuts the user agent information if its too long to display.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.