forked from TimothyYe/godns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_sample.yaml
37 lines (37 loc) · 913 Bytes
/
config_sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
provider: DNSPod
password:
login_token:
domains:
- domain_name: example.com
sub_domains:
- www
- test
ip_urls: [https://api4.ipify.org, https://api-ipv4.ip.sb/ip]
ipv6_urls: [https://api6.ipify.org, https://api-ipv6.ip.sb/ip]
ip_type: IPv4
interval: 300
resolver: 8.8.8.8
user_agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
ip_interface: eth0
socks5_proxy:
use_proxy: false
debug_info: false
skip_ssl_verify: false
notify:
telegram:
enabled: false
bot_api_key:
chat_id:
message_template:
mail:
enabled: false
smtp_server:
smtp_username:
smtp_password:
smtp_port: 25
send_from:
send_to:
webhook:
enabled: false
url: "http://localhost:5000/api/v1/send"
request_body: "{ \"domain\": \"{{.Domain}}\", \"ip\": \"{{.CurrentIP}}\", \"ip_type\": \"{{.IPType}}\" }"