Adding Domain in Kali

When will we add Domain in Kali hosts file

vi /etc/hosts

Add target ip and name, when we will we use this and benefit

I am sorry I don’t understand your question. Do you want to add domain in Kali? then yes you edit the /etc/hosts file