Hands-on task
This task is step 7 of the course “Networking and HTTP from the terminal”
Register a Local Domain
Make the name api.local resolve to 127.0.0.1 on this machine (without a DNS server, locally).
Reference:dig
What you'll practise:
- /etc/hosts
- name resolution
- loopback
- getent
- nsswitch