'get server domain attributes dict'

def get_server_domain_dict(self):

    server_domain_info = dict()
    if (not self.is_default_vpn):
        self.is_default_vpn = False
    if (not self.vrf_name):
        self.vrf_name = '_public_'
    conf_str = CE_NC_GET_SERVER_DNS_INFO_HEADER
    conf_str += CE_NC_GET_SERVER_DNS_INFO_TAIL
    xml_str = get_nc_config(self.module, conf_str)
    if ('<data/>' in xml_str):
        return server_domain_info
    xml_str = xml_str.replace('\r', '').replace('\n', '').replace('xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"', '').replace('xmlns="http://www.huawei.com/netconf/vrp"', '')
    root = ElementTree.fromstring(xml_str)
    server_domain_info['serverAddressInfos'] = list()
    syslog_dnss = root.findall('data/syslog/syslogDNSs/syslogDNS')
    if syslog_dnss:
        for syslog_dns in syslog_dnss:
            dns_dict = dict()
            for ele in syslog_dns:
                if (ele.tag in ['serverDomain', 'vrfName', 'level', 'serverPort', 'facility', 'chnlId', 'chnlName', 'timestamp', 'transportMode', 'sslPolicyName', 'isDefaultVpn', 'sourceIP', 'isBriefFmt']):
                    dns_dict[ele.tag] = ele.text
            server_domain_info['serverAddressInfos'].append(dns_dict)
    return server_domain_info
