Ian Change the file /etc/dnsmasq.conf, replacing home by learn.example.com in the two lines that start with domain and local. Comment out or delete completely the line starting with address.
Good catch, I've to amend this: I thought only of public domain names when writing it. If the domain remains a local one ending with ".home", as yours, you should leave this line.
Edit: This is updated now: "If your domain name is a public one, comment out or delete completely the line starting with address
. Otherwise, if your new domain name will remain local, ending with .home
, you can keep this line untouched."