Do you mean dns, netbios name resolution (broadcast) or wins? Updating dns would be complicated and netbios is done automatically (provided the right workgroup is set). For wins (likely if you have a domain):
Code:
workgroup = WORKGROUP
wins support = yes
wins server = w.x.y.z
name resolve order = lmhosts host wins bcast
in smb.conf