A domain can be specified that indicates the domain from which the client most often requests names. When the domain is set, it is automatically appended to the net service name in a connect string. For example, if INVENTORYDB is the net service name configured in TNSNAMES.ORA and NAMES.DEFAULT_DOMAIN=COM is set, the connect string SCOTT/TIGER@INVENTORYDB gets searched in the TNSNAMES.ORA as INVENTORYDB.COM. If the connect string includes the DOMAIN extension, (such as SCOTT/TIGER@INVENTORYDB.COM), the domain is not appended.
To specify a domain: