File: curvedns-run

package info (click to toggle)
curvedns 0.87-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,964 kB
  • sloc: asm: 19,669; ansic: 11,907; cpp: 1,066; sh: 954; makefile: 57
file content (17 lines) | stat: -rwxr-xr-x 383 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

USER="curvedns"

# IPs to listen on (separated by comma):
LISTEN_IPS="0.0.0.0"

# Port to listen on (root is needed if port < 1024):
LISTEN_PORT="53"

# Authoritative name server (target) IP:
TARGET_IP="127.0.0.1"

# Authoritative name server port:
TARGET_PORT="53"

exec envuidgid "$USER" envdir env curvedns "$LISTEN_IPS" "$LISTEN_PORT" "$TARGET_IP" "$TARGET_PORT" 2>&1