#dns #tcp #ip #ubuntu #linux #debian #zone #bind #ttl #systemctl
### **Managing the BIND DNS Service on Ubuntu**
Here are the basic commands to **check, restart, stop, and start** the **BIND 9 DNS server** on Ubuntu.
---
### **1. Check BIND 9 Service Status**
To verify if the **BIND 9 service** is running:
`sudo systemctl status bind9`
- If running, you should see: **`active (running)`** ✅
- If not, check the logs for possible issues.
---
### **2. Restart BIND 9**
To apply changes after modifying **BIND configurations**, restart the service:
`sudo systemctl restart bind9`
---
### **3. Stop BIND 9**
To stop the **DNS server**:
`sudo systemctl stop bind9`
---
### **4. Start BIND 9**
To start the **DNS service** again:
`sudo systemctl start bind9`
---
[[DNS Bind, Installing and Configuring]]
[[DNS Bind, Add a hostname]]
[[DNS UNBOUND]]