dns: set ttl to minttl config for custom dns recordings

This commit is contained in:
nadoo committed 2019-01-06 20:38:15 +08:00
1 parent 3c50c46eb9
commit c89d6018cf
9 files changed
+89 -83

No files matched your search

-38
View File
@@ -32,41 +32,3 @@ systemctl start glider@server
```
See [glider@.service](glider%40.service)
### Open file limit
#### 1. setup system limit
vim /etc/security/limits.d/unlimited.conf
```bash
* soft nofile unlimited
* hard nofile unlimited
* soft nproc unlimited
* hard nproc unlimited
```
#### 2. change **systemd** limit
```bash
echo DefaultLimitNOFILE=102400 >> /etc/systemd/system.conf
echo DefaultLimitNOFILE=102400 >> /etc/systemd/user.conf
```
#### 3. reexec **systemd**
```bash
systemctl daemon-reexec
```
#### 4. restart glider service
```bash
systemctl restart glider@server
```
#### 5. check the limits of PID
```bash
cat /proc/PID/limits
```