To change the default domain in CentOS, use /etc/resolv.conf:
search domain.com nameserver nameserver1.domain.com nameserver nameserver2.domain.com
To change the default domain in CentOS, use /etc/resolv.conf:
search domain.com nameserver nameserver1.domain.com nameserver nameserver2.domain.com