Adding hostname and IP address to DNS for sendmail ip lookup
I completly messed up my sendmail config, so I removed it completly and reinstalled.
Now when I follow some instructions from
I`m told that the first thing to do is "get all the DNS issues straight" then it goes on to say that I need to "add the hostname and IP address for the new e-mail server to your DNS server" and then use "nslookup -sil mymailservername"
I don`t have any experience with setting DNS on Linux so can anyone explain how i can add the correct dns records to internally resolve mylocalmailserver.mylocaldomain into its ip address 192.168.0.20 and also I think I need the reverse DNS setup aswel.
The whole purpose of all this is to set up a local mailserver that downloads all our accounts from our webhost and then we connect to our local mailserver and check emails.
Hope someone can help,