Skip to content

Commit f5570cb

Browse files
committed
added some notes
Signed-off-by: Marc Ahlgrim <[email protected]>
1 parent 781aa13 commit f5570cb

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

OpenWrt/DNS and DHCP

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
### MX Record Configuration in Dnsmasq
2+
3+
If you want to add an mx record for a domain with dnsmasq, then just add these lines into the dnsmasq main configuration file (/etc/dnsmasq.conf)
4+
```
5+
mx-host=example.com,mail1.example.com,10
6+
mx-host=example.com,mail2.example.com,20
7+
```
8+
9+
The above config will add 2 MX records for the domain example.com with priority values 10 for mail1.example.com and 20 for mail2.example.com
10+
11+
### List of all DHCP Clients (for Zabbix sync)
12+
13+
```
14+
# Sync OpenWrt dhcp to zabbix
15+
sudo ubus call uci get '{"config": "dhcp", "type": "host"}'
16+

Web Servers/jekyll.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Serve github pages locally with Jekyll
2+
3+
1. Install jekyll
4+
`sudo apt-get install ruby-full build-essential`
5+
`gem install jekyll bundler`
6+
2. Build the site locally
7+
`bundle exec jekyll serve`
8+
3. navigate to http://localhost:4000 to view the pages

ansible/installing ansible.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Now you can install ansible by doing
1515

1616
pip install ansible
1717

18-
If you do this as root, then ansible will be installed globally (e.g. in /usr/local/bin) **If you do this as non-root user, ansible will be installed under .local/bin under your home directory** and wil theerefore not be in the PATH
18+
If you do this as root, then ansible will be installed globally (e.g. in /usr/local/bin) **If you do this as non-root user, ansible will be installed under .local/bin under your home directory** and will therefore not be in the PATH
1919

2020
## recommendation
2121

0 commit comments

Comments
 (0)