Skip to content

Instantly share code, notes, and snippets.

View jakemalley's full-sized avatar
🌶️
Eating Chilli

Jake Malley jakemalley

🌶️
Eating Chilli
View GitHub Profile
@jakemalley
jakemalley / Local DNS Server Instructions.md
Created May 17, 2020 22:27
Configure a local DNS server for local development work on Linux with NetworkManager and dnsmasq.

Local DNS Server Instuctions

Configure a local DNS server for local development work on Linux with NetworkManager and dnsmasq.

  1. Check if the systemd-resolved stub listener is running:

    If the output of:

    netstat -tulpn | grep "LISTEN"
    

shows systemd-resolved listening on 127.0.0.53:53, then edit /etc/systemd/resolved.conf and set the following option:

" default settings
set expandtab
set autoindent
" default expand to 4 spaces
set ts=4 sts=4 sw=4
" .vimrc settings for yaml
au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml
autocmd FileType yaml setlocal ts=2 sts=2 sw=2