Create a file called "resolve.conf" within the unit/service directory
Example
Edit the file and add custom DNS servers
Reload / Restart the unit
gl -d <unit>
gl -s <unit>