CN108156262B - A kind of method and device for the validity checking DNS configuration file - Google Patents
A kind of method and device for the validity checking DNS configuration file Download PDFInfo
- Publication number
- CN108156262B CN108156262B CN201810149794.6A CN201810149794A CN108156262B CN 108156262 B CN108156262 B CN 108156262B CN 201810149794 A CN201810149794 A CN 201810149794A CN 108156262 B CN108156262 B CN 108156262B
- Authority
- CN
- China
- Prior art keywords
- dns
- address
- data
- tables
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000006854 communication Effects 0.000 abstract description 20
- 238000004891 communication Methods 0.000 abstract description 19
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 9
- 230000008859 change Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 239000000306 component Substances 0.000 description 5
- 239000000047 product Substances 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present invention provides a kind of method and device of validity for checking DNS configuration file, is related to field of communication technology, can significantly improve the efficiency for checking the validity of DNS configuration file.This method comprises: determining the first tables of data and the second tables of data according to DNS local profile;And obtain the target ip address of the target DNS parameter in network and the network equipment corresponding with target DNS parameter;And according to the corresponding target FQDN of target DNS parameter, it is based on the first tables of data and the second tables of data, inquires the local ip address of the network equipment;If the local ip address of the network equipment is identical as the target ip address of the network equipment, it is determined that DNS local profile is effective;If the local ip address of the network equipment is different from the target ip address of the network equipment, it is determined that DNS local profile is invalid.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of sides for the validity for checking DNS configuration file
Method and device.
Background technique
In wireless communication field, either in access network or core network, user equipment accesses network, and runs industry
During business, domain name mapping need to be carried out in domain name system (domain name system, DNS), i.e., is looked into according to DNS data
Ask the IP address of network element.
Mapping relations of the DNS data between domain name and the IP address of network element can be more by the configuration of DNS data
It is convenient to access internet (passing through the IP address of inquiry of the domain name network element), it include DNS in configuration file when usual network element dispatches from the factory
Data.During carrying out domain name mapping, whether accurate, the trouble-free operation to the business of user equipment of DNS data configuration
There is very important influence, at present during examining the validity of DNS data configuration, is carried out by manually comparing
It checks, specifically, inquiring the corresponding network of target FQDN according to target FQDN directly in DNS local profile and setting
Then standby local ip address compares the target ip address of the network equipment and the local ip address of the network equipment, determine the local DNS
Whether configuration file is effective.Or determine that mistake occurs in DNS data configuration by the service fail phenomenon found in network.
However it is relatively low above by the accuracy efficiency of manual inspection DNS data, and it is also be easy to cause careless omission, pass through
Determine whether DNS data is correct whether service fail, the Quality of experience of user may be will affect.
Summary of the invention
The application provides a kind of method and device of validity for checking DNS configuration file, can significantly improve and check DNS
The efficiency of the validity of configuration file.
In order to achieve the above objectives, the application adopts the following technical scheme that
In a first aspect, providing a kind of method of validity for checking DNS configuration file, this method may include: basis
DNS local profile determines the first tables of data and the second tables of data, which includes between FQDN and content indexing
Corresponding relationship, second tables of data include content indexing, subdomain name mark, inquiry replacement values between corresponding relationship, FQDN
For the FQDN generated according to DNS parameter;And obtain the target DNS parameter in network and network corresponding with target DNS parameter
The target ip address of equipment;And according to the corresponding target FQDN of target DNS parameter, it is based on the first tables of data and the second data
Table inquires the local ip address of the network equipment;If the local ip address of the network equipment is identical as the target ip address of the network equipment,
Then determine that DNS local profile is effective;If the local ip address of the network equipment is different from the target ip address of the network equipment,
Determine that DNS local profile is invalid.
Second aspect provides a kind of device of validity for checking DNS configuration file, and the apparatus may include determine mould
Block obtains module and enquiry module.Wherein it is determined that module, for according to DNS local profile, determine the first tables of data and
Second tables of data, first tables of data include the corresponding relationship between FQDN and content indexing, which includes content
It indexes, the corresponding relationship between subdomain name mark, inquiry replacement values, which is the FQDN generated according to DNS parameter;Obtain mould
Block, for obtaining the targeted internet protocol IP of target DNS parameter and the network equipment corresponding with target DNS parameter in network
Address;Enquiry module is also used to be based on the first tables of data and the second tables of data according to the corresponding target FQDN of target DNS parameter,
Inquire the local ip address of the network equipment;The determining module is also used to local ip address and the network equipment in the network equipment
The identical situation of target ip address under, determine that DNS local profile is effective, in the local ip address and network of the network equipment
In the case that the target ip address of equipment is different, determine that DNS local profile is invalid.
The third aspect provides a kind of server, which includes processor, transceiver and memory.Wherein, memory
For storing computer executed instructions, when server operation, the computer that processor executes memory storage is executed
Instruction, so that the method that the server executes the validity of the inspection DNS configuration file of first aspect.
Fourth aspect provides a kind of computer readable storage medium, be stored in computer readable storage medium one or
Multiple programs, one or more programs include computer executed instructions, are referred to when the processor of server executes computer execution
When enabling, which executes the method that the validity of DNS configuration file is checked described in above-mentioned first aspect.
5th aspect, provides a kind of computer program product including computer instruction, when the computer program product exists
When the upper operation of server, so that checking the validity of DNS configuration file described in the above-mentioned first aspect of execution of the server
Method.
The method provided by the present application for checking DNS configuration file validity, since server can be locally configured according to DNS
File, determines the first tables of data and the second tables of data, and is obtaining target DNS parameter in network and joining with target DNS
After the target ip address of the corresponding network equipment of number, server can be according to the corresponding target FQDN of target DNS parameter, base
In the first tables of data and the second tables of data, the local ip address of the network equipment is inquired, if the local ip address and net of the network equipment
The target ip address of network equipment is identical, it is determined that DNS local profile is effective, if the local ip address and network of the network equipment
The target ip address of equipment is different, it is determined that DNS local profile is invalid, compared with prior art, without manually checking DNS
Configuration file validity can significantly improve the efficiency for checking the validity of DNS configuration file.
Detailed description of the invention
Fig. 1 is a kind of hardware schematic of server provided in an embodiment of the present invention;
Fig. 2 is the method schematic diagram one of the validity provided in an embodiment of the present invention for checking DNS configuration file;
Fig. 3 is the method schematic diagram two of the validity provided in an embodiment of the present invention for checking DNS configuration file;
Fig. 4 is the method schematic diagram three of the validity provided in an embodiment of the present invention for checking DNS configuration file;
Fig. 5 is a kind of structural schematic diagram one of server provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram two of server provided in an embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawing to it is provided in an embodiment of the present invention check DNS configuration file validity method and device into
Row detailed description.
Term " first " and " second " in the specification and claims of the embodiment of the present invention etc. are for distinguishing not
Same object, rather than it is used for the particular order of description object.For example, the first tables of data and the second tables of data etc. are for distinguishing
Different tables of data, rather than the particular order for describing tables of data.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This
Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing
Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport
Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more.Example
Such as, multiple processing units refer to two or more processing units;Multiple systems refer to two or more systems.
In addition, the term " includes " being previously mentioned in description of the invention and " having " and their any deformation, it is intended that
It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have
It is defined in listed step or unit, but optionally further comprising the step of other are not listed or unit, or optionally
It further include the other step or units intrinsic for these process, methods, product or equipment.
Based on background technique there are the problem of, the embodiment of the present invention provides a kind of validity for checking DNS configuration file
Method and device can determine the first tables of data and the second tables of data according to DNS local profile, then obtain target DNS
The target ip address of parameter corresponding target FQDN and the network equipment, and according to target FQDN, based on the first tables of data and the
Two tables of data inquire the local ip address of the network equipment, the local ip address that then sets by comparing network and the network equipment
Target ip address determines whether DNS local profile is effective, compares and checks DNS configuration file validity in background technique
Method, it is provided in an embodiment of the present invention check DNS configuration file validity method can significantly improve check DNS configuration
The efficiency of the validity of file.
The method of the validity provided in an embodiment of the present invention for checking DNS configuration file can be applied to check DNS configuration
In the device of the validity of file, which can be computer or server etc..The embodiment of the present invention is to check that DNS is configured
The device of the validity of file is introduces each building block of server for server, as shown in Figure 1, the present invention is implemented
The server that example provides includes processor 10, memory 11 and communication interface 12 etc..
Processor 10: being the core component of server, for the application in the operating system and server of runtime server
Program (including system application and third party application).
In the embodiment of the present invention, processor 10 be specifically as follows central processing unit (central processing unit,
CPU), general processor, digital signal processor (digital signal processor, DSP), specific integrated circuit
(application-specific integrated circuit, ASIC), field programmable gate array (field
Programmable gate array, FPGA) or other programmable logic device, transistor logic, hardware component or
Person's any combination thereof may be implemented or execute and illustratively patrols in conjunction with various described in content disclosed by the embodiments of the present invention
Collect box, module and circuit;Processor is also possible to realize the combination of computing function, such as includes one or more microprocessors
Combination, DSP and the combination of microprocessor etc..
Memory 11: can be used for storing software program and module, and processor 10 is stored in memory 11 by operation
Software program and module, thereby executing the various function application and data processing of server.Memory 11 may include one
A or multiple computer readable storage mediums.Memory 11 includes storing program area and storage data area, wherein storing program area
Can application program needed for storage program area, at least one function etc., storage data area can storage server creation data
Deng.
In the embodiment of the present invention, memory 11 be can specifically include volatile memory (volatile memory), such as
Random access memory (random-access memory, RAM);The memory also may include nonvolatile memory
(non-volatile memory), such as read-only memory (read-only memory, ROM), flash memory (flash
Memory), hard disk (hard disk drive, HDD) or solid state hard disk (solid-state drive, SSD);The memory is also
It may include the combination of the memory of mentioned kind.
Communication interface 12: the interface circuit communicated for server with other equipment, communication interface can be transmitting-receiving
Device, transmission circuit etc. have the structure of transmission-receiving function, and communication interface includes serial communication interface and parallel communication interface.
In the embodiment of the present invention, in a communications system, it is configured with DNS configuration file on dns server, is needing to carry out
When DNS query, the IP of the network equipment corresponding to the corresponding domain name of a certain DNS parameter according to DNS configuration file, can be inquired
Location is configured, the pre-configured DNS in a device in advance when usual DNS configuration file is network equipment factory by producer
Whether configuration file meets actual use demand, needs to carry out the inspection of the validity of DNS configuration file, in this way, matching in DNS
It sets there are when the case where mispairing, leakage, producer can be reported in time, to correct DNS configuration file, will be pre-configured with below
DNS configuration file be known as DNS local profile.
As shown in Fig. 2, the method for the validity provided in an embodiment of the present invention for checking DNS configuration file may include
S101-S107:
S101, server determine the first tables of data and the second tables of data according to DNS local profile.
Wherein, the first tables of data include fully qualified domain name (fully qualified domain name, FQDN) with it is interior
Hold the corresponding relationship between index, the second tables of data includes content indexing, subdomain name identifies, corresponding between inquiry replacement values is closed
System, FQDN is the FQDN generated according to DNS parameter, i.e., FQDN corresponding with DNS parameter.
Optionally, in the embodiment of the present invention, above-mentioned second tables of data can also include content indexing subdomain name mark, inquiry
Record type, inquiry record sequence, inquiry record priority, junior's inquiry record type, service type and inquiry replacement values
Between corresponding relationship.
S102, server obtain the mesh of target DNS parameter and the network equipment corresponding with target DNS parameter in network
Mark IP address.
In the embodiment of the present invention, DNS parameter is the network of relation parameter in DNS service region, hereinafter referred to as target DNS ginseng
Number, DNS parameter may include at least one of parameters described below: access point name (access point name, APN), user
Number section MSISDN (i.e. mobile subscriber's International ISDN (mobile subscriber international ISDN number,
MSISDN)), tracking area identification (tracking area identity, TAI), the unique temporary user device mark in the whole world
(globally unique temporary user equipment identity, GUTI), Location Area Code (location
Area code, LAC), Route Area code (routing area code, RAC) and radio network controller (radio
Network controller, RNC) ID (identity) etc..
The network equipment may include following at least one: packet gateway (PGW), gateway (service gateway,
SGW), mobile management entity (mobility management entity, MME), Serving GPRS Support Node (service
GPRS support node, SGSN), Gateway GPRS Support Node (gateway GPRS support node, GGSN).
The target ip address of above-mentioned target DNS parameter and the network equipment is DNS parameter and the network equipment in real network
IP address.
It should be noted that in the embodiment of the present invention, the corresponding net of target DNS (i.e. the corresponding FQDN of target DNS parameter)
The IP address of network equipment may include it is multiple, i.e., a FQDN can correspond to multiple IP address.
In the embodiment of the present invention, in different scenes, different DNS parameters and the IP address of the different network equipments it
Between have corresponding relationship, it can according to the different corresponding FQDN of DNS parameter, with can determining the IP of the different network equipments
Location.Illustratively, such as the example of the corresponding relationship for the IP address that the following table 1 is the DNS parameter and the network equipment under 6 scenes.
Table 1
In conjunction with above-mentioned table 1, the query process of the IP address of the network equipment in each scene is briefly introduced.
Scene one: attachment scene
During user equipment (user equipment, UE) accesses network, when UE carries out network attachment, MME can
With by APN in the dns server (the DNS local profile specially in dns server) inquire PGW IP address, lead to
Cross the IP address that TAI inquires SGW in the dns server.
Scene two: more PDN connections
When UE initiates multi-packet data network (packet data network, PDN) connection, MME can pass through APN
The IP address of PGW is inquired in the dns server.
TAU across MME, the TAU across SGW in three: 4G system of scene
In a 4 g system, when the tracking area of UE changes, need to carry out tracing section updating (track area update,
TAU), the TAU across MME, across SGW during, MME and SGW may change, be specifically divided into four kinds of situations:
(1) MME changes, and SGW changes
In the case where MME and SGW change, target MME passes through GUTI query source MME in the dns server
IP address, target MME inquire the IP address of target SGW by TAI in the dns server.
(2) MME changes, and SGW is constant
MME change SGW it is constant in the case where, target MME passes through the GUTI IP of query source MME in the dns server
Location no longer needs to the IP address for searching SGW since SGW is constant.
(3) MME is constant, and SGW changes
In the case where the constant SGW of MME changes, MME inquires the IP address of target SGW by TAI in the dns server,
Since MME is constant, the IP address for searching MME is no longer needed to.
(4) MME is constant, and SGW is constant
In the case where MME and SGW constant, without inquiring the IP address of MME and SGW.
Scene three: RAU, TAU between system
In the embodiment of the present invention, the network of UE becomes 3G network from 4G network, needs to carry out Routing Area Update (route
Area update, RAU).The network of UE becomes 4G network from 3G network, needs to carry out TAU.
(1) RAU of 4G to 3G
In the scene of the RAU of 4G to 3G, SGSN is by LAC and RAC, the IP of query source MME in the dns server
Location.
(2) TAU of 3G to 4G
In the scene of the TAU of 3G to 4G, IP address that MME passes through GUTI query source SGSN in the dns server.
The switching of switching (i.e. handover) and SGW across MME in five: 4G system of scene
Switching refers to that working as mobile station is moved to another base station overlay area from a base station overlay area in communication process,
Or due to external interference and when speech quality being caused to decline, it is necessary to change original voice channel and be transferred to a new sky
Not busy voice channel gets on, and to continue to keep the process of call, during switching, the MME and SGW of 4G system may become
Change, be specifically divided into four kinds of situations:
(1) MME changes, and SGW changes
In the case where MME and SGW change, source MME inquires the IP of target MME by TAI in the dns server
Address, target MME inquire the IP address of target SGW by TAI in the dns server.
(2) MME changes, and SGW is constant
MME change SGW it is constant in the case where, source MME inquires the IP of target MME by TAI in the dns server
Location no longer needs to the IP address for searching SGW since SGW is constant.
(3) MME is constant, and SGW changes
In the case where the constant SGW of MME changes, MME inquires the IP address of target SGW by TAI in the dns server,
Since MME is constant, the IP address for searching MME is no longer needed to.
(4) MME is constant, and SGW is constant
In the case where MME and SGW constant, without inquiring the IP address of MME and SGW.
Scene six: the switching between system
Switching between system refers to that by 4G network switching to 3G network, in this case, MME can pass through RNC ID
The IP address of SGSN is inquired in the dns server.
S103, server generate the corresponding target FQDN of target DNS parameter according to domain name create-rule.
In the embodiment of the present invention, the corresponding FQDN of DNS parameter can be first generated according to DNS parameter, then can be taken in DNS
The IP address of the corresponding network equipment of the FQDN is inquired in business device, thus with realizing the IP according to the DNS parameter query network equipment
Location.
It should be noted that different DNS parameters can generate the DNS parameter pair according to different domain name create-rules
The FQDN answered.Illustratively, the method that the corresponding FQDN of DNS parameter is generated according to different DNS parameters is described below.
1, the corresponding FQDN of APN
In the embodiment of the present invention, FQDN can be constructed according to the extended mode of MSISDN.It (can be with for example, by using MSISDN
Be interpreted as the phone number of user) the position 3-9 be extended.
It illustratively, can be with according to the FQDN that APN is generated are as follows:
3gnet.1860351.apn.epc.mnc001.mcc460.3gppnetwork.org
Wherein, 1860351 be MSISDN the position 3-9.
It optionally, can also be according to the corresponding FQDN of information APN of different industries in the embodiment of the present invention.For example, will
The a part of [urban sign] [customer ID] [service identification] [province mark] as FQDN.
Illustratively, according to the above method, the FQDN of Jinan, Shandong Province industry and commerce mobile law enforcement business is generated:
JNGSJ.GOV.YDZF.SDAPN.apn.epc.mnc001.mcc460.3gppnetwork.org
Wherein, JNGSJ.GOV.YDZF.SDAPN. is that [urban sign] [customer ID] [service identification] [is saved
Part mark].
2, the corresponding FQDN of TAI
The corresponding FQDN of TAI is constructed by TAC, and the corresponding FQDN of the TAI is by 16 bit arrays at being denoted as 16
System is X1X2X3X4, and wherein X1X2 can voluntarily be distributed by general headquarters, service provider Uniform provisions, X3X4 by each province.
Illustratively, the corresponding domain name of TAI can be with are as follows:
tac-1b00.tac-hb53.tac.epc.mnc001.mcc460.3gppnetwork.org
Wherein, tac-1b00 X3X4, tac-hb53 X1X2.
3, the corresponding FQDN of RAC and LAC
That is the corresponding FQDN of RAI, the format of the FQDN are as follows:
rac<YYYY>.1ac<X1X2X3X4>.rac.epc.mnc001.mcc460.3gppnetwor k.org
Wherein, tetra- hexadecimal numbers of Y, Y are voluntarily distributed by each province, and X1X2 is by general headquarters, service provider Uniform provisions, X3X4
It can voluntarily be distributed by each province.
4, the corresponding FQDN of RNC ID
The format of the corresponding FQDN of RNC ID are as follows:
RNC<X1X2X3X4>.mnc001.mcc460.gprs
Wherein, X1X2 can voluntarily be distributed by general headquarters, service provider Uniform provisions, X3X4 by each province.
S104, server are based on the first tables of data and the second tables of data according to the corresponding target FQDN of target DNS parameter,
Inquire the local ip address of the network equipment.
In the embodiment of the present invention, after server gets target DNS parameter, server generates target DNS parameter pair
The target FQDN answered, then by inquiring the corresponding network equipment of target FQDN in the first tables of data and the second tables of data
Local ip address, using the local ip address inquired as the target ip address of the network equipment.
S105, server determine the network equipment local ip address and the network equipment target ip address it is whether identical.
In the embodiment of the present invention, the target ip address of the network equipment is the IP address of the network equipment in real network, net
The local ip address of network equipment is the IP address of the network equipment configured in DNS local profile, by comparing the network equipment
Local ip address and the target ip address of the network equipment whether identical determine whether DNS local profile effective.Specifically
Including following two kinds of situations:
If the local ip address of S106, the network equipment is identical as the target ip address of the network equipment, it is determined that DNS locally matches
It is effective to set file.
In the embodiment of the present invention, the local ip address of the network equipment and the target ip address of the network equipment are identical including network
All local ip address of equipment and all target ip address of the network equipment are identical, illustrate to configure in DNS local profile
DNS data be it is reasonable, can adapt to real network.
If the local ip address of S107, the network equipment is different from the target ip address of the network equipment, it is determined that DNS locally matches
Set that file is invalid.
In the embodiment of the present invention, the local ip address of the network equipment and the target ip address of the network equipment are different, illustrate DNS
The DNS data mistake configured in local profile, can not adapt to real network, need to remodify DNS local profile.
It should be noted that in the embodiment of the present invention, if above-mentioned server according to target FQDN, in the first tables of data and
In two tables of data, the local ip address of the corresponding network equipment of target FQDN is not inquired, illustrates DNS local profile
In there is the case where leakage, need to supplement the target ip address of target FQDN and the network equipment in DNS local profile
Between the relevant informations such as corresponding relationship.
Optionally, in conjunction with Fig. 2, as shown in figure 3, above-mentioned S101 can specifically be realized by S101a-S101b:
It is corresponding that S101a, server extract at least one DNS parameter from the first configuration file of DNS local profile
FQDN and at least one content indexing, form the first tables of data.
In the embodiment of the present invention, DNS local profile includes the first configuration file and the second configuration file, this first is matched
Setting file is name.cof file, includes the corresponding FQDN of at least one DNS parameter and at least one in the name.cof file
The information (such as domain and file in name) of content indexing, server can extract at least one from configuration file
The corresponding FQDN of DNS parameter and at least one content indexing form the first tables of data.
Illustratively, such as the example that the following table 2 is the first tables of data content, the content of domain entry is FQDN, file item
Purpose content is content indexing.
Table 2
domain | FQDN |
file | Content indexing |
S101b, server extracted from the second configuration file of DNS local profile at least one content indexing, to
A few sub- domain name identification, at least one inquiry replacement values, form the second tables of data.
In the embodiment of the present invention, DNS local profile includes the second configuration file, which is
Name.data file includes at least one content indexing in the name.data, at least one subdomain name mark, at least one looks into
Replacement values are ask, the second tables of data is formed.The name.data file can also include content indexing subdomain name mark, inquiry record
Between type, inquiry record sequence, inquiry record priority, junior's inquiry record type, service type and inquiry replacement values
Corresponding relationship.
Illustratively, such as the example that the following table 3 is the second tables of data content, the content of domain entry is FQDN, file item
Purpose content is content indexing,
Table 3
file | Content indexing |
name | Subdomain name mark |
naptr | Inquire record type |
order | Inquire record sequence |
pref | Inquiry record priority |
flag | Record type is inquired by junior |
service | Service type |
replacement | Inquire replacement values |
Optionally, in conjunction with Fig. 3, as shown in figure 4, above-mentioned S104 can specifically be realized by S104a-S104d:
S104a, server inquire the corresponding content indexing of target FQDN in the first tables of data.
In the embodiment of the present invention, it includes: first with the complete of the FQDN that the corresponding index of FQDN is inquired in the first tables of data
Domain name inquires corresponding content indexing in the first tables of data, if according to the full inquiry of the domain name of FQDN less than content indexing,
The first segment for then removing the FQDN universe name, obtains intermediate FQDN, is then further continued for searching among this in the first tables of data
The corresponding content indexing of FQDN, according to such rule, until finding content indexing position in the first tables of data.
S104b, server inquire the replacement of inquiry corresponding to the corresponding content indexing of target FQDN in the second tables of data
Value.
If S104c, the format for inquiring replacement values are IP address format, the inquiry replacement values of IP address format are determined as
The local ip address of the network equipment.
If S104d, the format for inquiring replacement values are FQDN format, using inquiry replacement values as intermediate FQDN, according to centre
FQDN is alternately inquired in the first tables of data and the second tables of data, until the inquiry replacement values inquired in the second tables of data
Format be IP address format, the inquiry replacement values of IP address format are determined as to the local ip address of the network equipment.
In the embodiment of the present invention, by taking DNS parameter is APN as an example, introduce according to the corresponding target FQDN of target DNS parameter,
Based on the first tables of data and the second tables of data, the process of the local ip address of the network equipment is inquired.
Illustratively, the corresponding FQDN of ANP (being denoted as the first FQDN) are as follows:
3gnet.1300540.apn.epc.mnc001.mcc460.3gppnetwork.org
Step 1: the corresponding content indexing of the first FQDN is inquired in the first tables of data.
Illustratively, it when inquiring the corresponding content indexing of the first FQDN in the first tables of data, does not inquire as a result, therefore
Remove the first segment of the first FQDN, i.e. " 3gnet. ", obtaining the 2nd FQDN is 1300540.apn.epc.mnc001.mcc460.
3gppnetwork.org, then continues to search the corresponding content indexing of the 2nd FQDN in the first tables of data, and query result is
1300540.epc.db being denoted as first content index.
Step 2: inquiring first content in the second tables of data and index corresponding inquiry replacement values.
It includes a plurality of result that the first content inquired in the second tables of data, which indexes corresponding inquiry replacement values,.Such as following table
4 show the few examples that the first content inquired indexes corresponding inquiry replacement values.
Table 4
In conjunction with table 4, it is seen that inquiry replacement values corresponding with 1300540.epc.db include it is multiple, in this case, knot
Step 1 is closed, selection subdomain is entitled due in step 1, eliminating the first segment " 3gnet. " of the first FQDN, therefore in table 4
The corresponding inquiry replacement values of 3gnet are as the first inquiry replacement values.That is:
pgw-list-4.sz.gd.node.epc.mnc001.mcc460.3gppnetwork.org
It is not the format of IP address, therefore, it is necessary to the due to the format that format of the first inquiry replacement values is FQDN
Continue to inquire in one tables of data.
Step 3: the corresponding content indexing of the first inquiry replacement values is inquired in the first tables of data.
In the embodiment of the present invention, using the first inquiry replacement values as the 3rd FQDN, third is inquired in the first tables of data
When the corresponding content indexing of FQDN, does not inquire as a result, therefore remove the first segment of the 3rd FQDN, i.e., " pgw-list-4. ", obtain
It is sz.gd.node.epc.mnc001.mcc460.3gppnetwork.org to the 4th FQDN, is then relayed in the first tables of data
Continuous to search the corresponding content indexing of the 4th FQDN, query result node.epc.db is denoted as the second content indexing.
Step 4: the corresponding inquiry replacement values of the second content indexing are inquired in the second tables of data.
The corresponding inquiry replacement values of the second content indexing inquired in the second tables of data include a plurality of result.Such as following table
5 show the few examples of the corresponding inquiry replacement values of the second content indexing inquired.
Table 5
Second content indexing | Subdomain name | Inquire replacement values |
node.epc.db | topon.s11.dggw0101 | 220.206.184.107 |
node.epc.db | topon.s5s8.dggw0101 | 220.206.184.103 |
node.epc.db | pgw-list-0 | topon.s5s8.gw0101 |
node.epc.db | pgw-list-1 | topon.s5s8.gw0401 |
node.epc.db | pgw-list-2 | topon.s5s8.gw0101 |
node.epc.db | pgw-list-3 | topon.s5s8.gw0101 |
node.epc.db | pgw-list-4 | topon.s5s8.dggw0202 |
node.epc.db | pgw-1ist-9 | topon.s5s8.gwhy0101 |
node.epc.db | pgw-list-ims | topon.s5s8.GZSYUGW0102 |
node.epc.db | sgw-list-0 | topon.s11.gw0101 |
node.epc.db | sgw-list-1 | topon.s11.gw0401 |
node.epc.db | sgw-list-2 | topon.s11.gw0101 |
node.epc.db | sgw-list-3 | topon.s11.gw0101 |
node.epc.db | sgw-list-4 | topon.s11.gw0401 |
In conjunction with table 5, it is seen that inquiry replacement values corresponding with node.epc.db include it is multiple, in this case, in conjunction with step
Rapid 3, due in step 3, eliminating the first segment " pgw-list-4. " of the 3rd FQDN, therefore in table 5, selection subdomain is entitled
The corresponding inquiry replacement values of pgw-list-4 are as the second inquiry replacement values.
It should be noted that above-mentioned table 5 is only the few examples of step 4 query result, and in actual queries, above-mentioned and pgw-
The corresponding second inquiry replacement values of list-4 include multiple, are as shown in table 6 below that the pgw-list-4 corresponding second of inquiry is looked into
Ask the example of replacement values.
Table 6
Second content indexing | Subdomain name | Second inquiry replacement values |
node.epc.db | pgw-list-4 | topon.s5s8.gw0401 |
node.epc.db | pgw-list-4 | topon.s5s8.gw0402 |
node.epc.db | pgw-list-4 | topon.s5s8.gw0601 |
node.epc.db | pgw-list-4 | topon.s5s8.gw0602 |
node.epc.db | pgw-list-4 | topon.s5s8.dggw0201 |
node.epc.db | pgw-list-4 | topon.s5s8.dggw0202 |
node.epc.db | pgw-list-4 | topon.s5s8.gw0801 |
In conjunction with table 6, it is corresponding with subdomain name pgw-list-4 second inquiry replacement values include it is multiple, in this case,
Using the corresponding second inquiry replacement values of pgw-list-4 as new subdomain name, referred to as the first subdomain name, in the second tables of data
The item of subdomain name now, searches the corresponding inquiry replacement values of the first subdomain name, and referred to as third inquires replacement values.
Illustratively, as shown in table 7 below, it is each first subdomain name in above-mentioned table 6, is inquired in the second tables of data
The example of third inquiry replacement values.
Table 7
Second content indexing | First subdomain name | Second inquiry replacement values |
node.epc.db | topon.s5s8.gw0401 | 116.79.199.212 |
node.epc.db | topon.s5s8.gw0402 | 116.79.199.218 |
node.epc.db | topon.s5s8.gw0601 | 116.79.215.161 |
node.epc.db | topon.s5s8.gw0602 | 116.79.215.166 |
node.epc.db | topon.s5s8.dggw0201 | 220.206.184.83 |
node.epc.db | topon.s5s8.dggw0202 | 116.79.216.83 |
node.epc.db | topon.s5s8.gw0801 | 116.79.216.161 |
In conjunction with table 7, it is seen that in query result, the second inquiry replacement values are IP address format, therefore the IP address is made
For the local ip address of the network equipment.So far, above-mentioned according to the corresponding FQDN of APN (i.e. the first FQDN), the first tables of data and
The IP address for the network equipment that two tables of data determine includes 7 IP address as shown in table 7.
The method provided in an embodiment of the present invention for checking DNS configuration file validity, since server can be according to DNS sheet
Ground configuration file, determines the first tables of data and the second tables of data, and obtain target DNS parameter in network and with the target
After the target ip address of the corresponding network equipment of DNS parameter, server can be according to the corresponding target of target DNS parameter
FQDN is based on the first tables of data and the second tables of data, inquires the local ip address of the network equipment, if the local IP of the network equipment
Location is identical as the target ip address of the network equipment, it is determined that DNS local profile is effective, if the local ip address of the network equipment
It is different from the target ip address of the network equipment, it is determined that DNS local profile is invalid, compared with prior art, without artificial
It checks DNS configuration file validity, the efficiency for checking the validity of DNS configuration file can be significantly improved.
In the case where each function division of use correspondence each functional module, Fig. 5 shows involved in above-described embodiment
And server a kind of possible structural schematic diagram, as shown in figure 5, the server may include: determining module 20, obtain mould
Block 21 and enquiry module 22.
Determining module 20, for determining the first tables of data and the second tables of data, this first according to DNS local profile
Tables of data includes the corresponding relationship between FQDN and content indexing, which includes content indexing, subdomain name mark, looks into
The corresponding relationship between replacement values is ask, which is the FQDN generated according to DNS parameter, such as above-mentioned determining module 20 can be used
The S101 (including S101a-S101b) in above method embodiment is executed in support server;Module 21 is obtained, for obtaining net
The target ip address of target DNS parameter and the network equipment corresponding with target DNS parameter in network, such as obtaining module 21 can be with
For supporting server to execute the S102 in above method embodiment;Enquiry module 22, for corresponding according to target DNS parameter
Target FQDN is based on the first tables of data and the second tables of data, inquires the local ip address of the network equipment, such as enquiry module 22 can
For supporting server to execute the S104 in above method embodiment;Determining module 20 is also used in the local of the network equipment
In IP address situation identical with the target ip address of the network equipment, determine that DNS local profile is effective, in the network equipment
It in the case that local ip address is different from the target ip address of the network equipment, determines that DNS local profile is invalid, such as determines
The S105-S107 that module 20 can be used for that server is supported to execute in above method embodiment.Wherein, above method embodiment relates to
And each step all related contents can quote corresponding function module function description, details are not described herein.
Optionally, as shown in figure 5, the device provided in an embodiment of the present invention for checking DNS configuration file validity can be with
Including generation module 23, the generation module 23, for obtain module obtain target DNS parameter in network and with target DNS
After the target ip address of the corresponding network equipment of parameter, in determining module according to the corresponding target FQDN of target DNS parameter, base
It in the first tables of data and the second tables of data, inquires before the local ip address of the network equipment, according to domain name create-rule, generates mesh
The corresponding target FQDN of DNS parameter is marked, such as generation module 23 can be used for that server is supported to execute in above method embodiment
S103.
Optionally, above-mentioned determining module 20, specifically in the first configuration file from DNS local profile extract to
Few corresponding FQDN of a DNS parameter and at least one content indexing form the first tables of data;And text is locally configured from DNS
At least one content indexing, at least one subdomain name mark, at least one inquiry replacement values are extracted in second configuration file of part,
Form the second tables of data, such as the S101a- that determining module 20 can be used for that server is supported to execute in above method embodiment
S101b。
Optionally, above-mentioned enquiry module 22 is specifically used for inquiring the corresponding content rope of target FQDN in the first tables of data
Draw;And inquiry replacement values corresponding to the corresponding content indexing of target FQDN are inquired in the second tables of data, such as inquiry mould
The S104a and S104b that block 22 can be used for that server is supported to execute in above method embodiment;Above-mentioned determining module 20, is also used
If being IP address format in the format of inquiry replacement values, the inquiry replacement values of IP address format are determined as to the sheet of the network equipment
Ground IP address;If the format for inquiring replacement values is FQDN format, using inquiry replacement values as intermediate FQDN, such as determining module 20
The S104c that can be used for that server is supported to execute in above method embodiment;Above-mentioned enquiry module 22, is also used to according to centre
FQDN is alternately inquired in the first tables of data and the second tables of data, until the inquiry replacement values inquired in the second tables of data
Format be IP address format;The above-mentioned determination module 20 is also used to the inquiry replacement values of IP address format being determined as network
The local ip address of equipment.
Using integrated unit, one kind that Fig. 6 shows server involved in above-described embodiment can
The structural schematic diagram of energy.As shown in fig. 6, server may include: processing module 30 and communication module 31.Processing module 30 can be with
Control management is carried out for the movement to server, for example, processing module 30 can be used for that server is supported to execute the above method
S101-S107 in embodiment, and/or other processes for techniques described herein.Communication module 31 can be used for propping up
Hold the communication of server Yu other network entities.Optionally, it as shown in fig. 6, the server can also include memory module 32, uses
In the program code and data of storage server.
Wherein, processing module 30, which can be processor or controller, (such as can be above-mentioned processor as shown in Figure 1
10).Communication module 31, which can be transceiver, transmission circuit or communication interface etc., (such as can be above-mentioned communication as shown in Figure 1
Interface 12).Memory module 32 can be memory (such as can be above-mentioned memory 11 as shown in Figure 1).
When processing module 30 is processor, communication module 31 is transceiver, when memory module 32 is memory, processor,
Transceiver can be connected with memory by bus.Bus can be Peripheral Component Interconnect standard (peripheral
Component interconnect, PCI) bus or expanding the industrial standard structure (extended Industry standard
Architecture, EISA) bus etc..Bus can be divided into address bus, data/address bus, control bus etc..
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When being realized using software program, can entirely or partly realize in the form of a computer program product.The computer journey
Sequence product includes one or more computer instructions.It is all or part of when loading and execute on computers the computer instruction
Ground is generated according to the process or function in the embodiment of the present invention.The computer can be general purpose computer, special purpose computer, calculating
Machine network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or from one
A computer readable storage medium is transmitted to another computer readable storage medium, for example, the computer instruction can be from one
A web-site, computer, server or data center pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line
(digital subscriber line, DSL)) mode or wireless (such as infrared, wireless, microwave etc.) mode be to another net
Website, computer, server or data center's transmission.The computer readable storage medium can be what computer can access
Any usable medium either includes the data storage devices such as one or more usable mediums integrated server, data center.
The usable medium can be magnetic medium (for example, floppy disk, disk, tape), optical medium (for example, digital video disk
(digital video disc, DVD)) or semiconductor medium (such as solid state hard disk (solid state drives,
SSD)) etc..
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description
It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper
It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete
All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to
The corresponding process in embodiment of the method is stated, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit
Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) or processor execute described in each embodiment of the application
The all or part of the steps of method.And storage medium above-mentioned include: flash memory, it is mobile hard disk, read-only memory, random
Access the various media that can store program code such as memory, magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (12)
1. a kind of method for the validity for checking DNS configuration file characterized by comprising
According to domain name system DNS local profile, determine that the first tables of data and the second tables of data, first tables of data include
Corresponding relationship between fully qualified domain name FQDN and content indexing, second tables of data include the content indexing, subdomain
Corresponding relationship between name mark, inquiry replacement values, the FQDN is the FQDN generated according to DNS parameter;
Obtain the targeted internet agreement of the target DNS parameter and the network equipment corresponding with the target DNS parameter in network
IP address;
According to the corresponding target FQDN of the target DNS parameter, it is based on first tables of data and second tables of data, inquiry
The local ip address of the network equipment;
If the local ip address of the network equipment is identical as the target ip address of the network equipment, it is determined that the DNS sheet
Ground configuration file is effective;
If the local ip address of the network equipment is different from the target ip address of the network equipment, it is determined that the DNS sheet
Ground configuration file is invalid.
2. the method according to claim 1, wherein obtain network in target DNS parameter and with the mesh
After the target ip address for marking the corresponding network equipment of DNS parameter, according to the corresponding target FQDN of the target DNS parameter,
Based on first tables of data and second tables of data, inquire before the local ip address of the network equipment, the method
Further include:
According to domain name create-rule, the corresponding target FQDN of the target DNS parameter is generated.
3. method according to claim 1 or 2, which is characterized in that the DNS local profile includes the first configuration text
Part and the second configuration file, it is described that first tables of data and the second tables of data are determined according to domain name system DNS local profile,
Include:
The corresponding FQDN of at least one DNS parameter and at least is extracted from the first configuration file of the DNS local profile
One content indexing forms first tables of data;
At least one content indexing, at least one subdomain name are extracted from the second configuration file of the DNS local profile
Mark, at least one inquiry replacement values, form second tables of data.
4. method according to claim 1 or 2, which is characterized in that described according to the corresponding target of the target DNS parameter
FQDN is based on first tables of data and second tables of data, inquires the local ip address of the network equipment, comprising:
The corresponding content indexing of the target FQDN is inquired in first tables of data;
Inquiry replacement values corresponding to the corresponding content indexing of the target FQDN are inquired in second tables of data;
If the format of the inquiry replacement values is IP address format, the inquiry replacement values of the IP address format are determined as institute
State the local ip address of the network equipment;
If the format of the inquiry replacement values is FQDN format, using the inquiry replacement values as intermediate FQDN, in described
Between FQDN, alternately inquired in first tables of data and second tables of data, until inquired in second tables of data
The format of the inquiry replacement values arrived is IP address format, and the inquiry replacement values of the IP address format are determined as the network and are set
Standby local ip address.
5. method according to claim 1 or 2, which is characterized in that the method also includes:
If not inquiring the local ip address of the network equipment, it is determined that the DNS local profile is invalid.
6. method according to claim 1 or 2, which is characterized in that
The DNS parameter includes at least one of parameters described below: access point name APN, user's number section MSISDN, tracking area mark
Know TAI, the unique temporary user device mark GUTI in the whole world, Location Area Code LAC, Route Area code RAC, radio network controller (RNC)
ID;
The network equipment includes following at least one: packet gateway PGW, gateway SGW, mobile management entity MME, service
GPRS Support Node SGSN, Gateway GPRS Support Node GGSN.
7. a kind of device for the validity for checking DNS configuration file, which is characterized in that including determining module, obtain module and look into
Ask module;
The determining module, for determining the first tables of data and the second tables of data according to domain name system DNS local profile,
First tables of data includes the corresponding relationship between fully qualified domain name FQDN and content indexing, and second tables of data includes
The content indexing, subdomain name mark, inquiry replacement values between corresponding relationship, the FQDN is to be generated according to DNS parameter
FQDN;
The acquisition module, for obtaining target DNS parameter and the network equipment corresponding with the target DNS parameter in network
Targeted internet Protocol IP address;
The enquiry module, is also used to according to the corresponding target FQDN of the target DNS parameter, based on first tables of data and
Second tables of data, inquires the local ip address of the network equipment;
The determining module is also used to the target ip address phase of the local ip address and the network equipment in the network equipment
With in the case where, determine that the DNS local profile is effective;
The determining module is also used to the target ip address in local ip address and the network equipment in the network equipment
In the case where difference, determine that the DNS local profile is invalid.
8. device according to claim 7, which is characterized in that described device further includes generation module;
The generation module, for it is described acquisition module obtain network in target DNS parameter and with the target DNS parameter
After the target ip address of the corresponding network equipment, in the enquiry module according to the corresponding target of the target DNS parameter
FQDN is based on first tables of data and second tables of data, inquires before the local ip address of the network equipment, according to
Domain name create-rule generates the corresponding target FQDN of the target DNS parameter.
9. device according to claim 7 or 8, which is characterized in that
The determining module, specifically for extracting at least one DNS from the first configuration file of the DNS local profile
The corresponding FQDN of parameter and at least one content indexing form first tables of data;And from the DNS local profile
The second configuration file in extract at least one content indexing, at least one subdomain name mark, at least one inquiry replacement values, group
At second tables of data.
10. device according to claim 7 or 8, which is characterized in that
The enquiry module, specifically for inquiring the corresponding content indexing of the target FQDN in first tables of data;And
And inquiry replacement values corresponding to the corresponding content indexing of the target FQDN are inquired in second tables of data;
The determining module, if the format specifically for the inquiry replacement values is IP address format, by the IP address lattice
The inquiry replacement values of formula are determined as the local ip address of the network equipment, if the format of the inquiry replacement values is FQDN lattice
Formula, using the inquiry replacement values as intermediate FQDN;
The enquiry module is also used to be handed in first tables of data and second tables of data according to the intermediate FQDN
For inquiry, until the format of the inquiry replacement values inquired in second tables of data is IP address format;
The determining module is also used to for the inquiry replacement values of the IP address format being determined as the local IP of the network equipment
Address.
11. device according to claim 7 or 8, which is characterized in that
The determining module is also used to the case where the enquiry module does not inquire the local ip address of the network equipment
Under, determine that the DNS local profile is invalid.
12. device according to claim 7 or 8, which is characterized in that
The DNS parameter includes at least one of parameters described below: access point name APN, user's number section MSISDN, tracking area mark
Know TAI, the unique temporary user device mark GUTI in the whole world, Location Area Code LAC, Route Area code RAC, radio network controller (RNC)
ID;
The network equipment includes following at least one: packet gateway PGW, gateway SGW, mobile management entity MME, service
GPRS Support Node SGSN, Gateway GPRS Support Node GGSN.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810149794.6A CN108156262B (en) | 2018-02-13 | 2018-02-13 | A kind of method and device for the validity checking DNS configuration file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810149794.6A CN108156262B (en) | 2018-02-13 | 2018-02-13 | A kind of method and device for the validity checking DNS configuration file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108156262A CN108156262A (en) | 2018-06-12 |
CN108156262B true CN108156262B (en) | 2019-06-25 |
Family
ID=62457425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810149794.6A Active CN108156262B (en) | 2018-02-13 | 2018-02-13 | A kind of method and device for the validity checking DNS configuration file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108156262B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108933846B (en) * | 2018-06-21 | 2021-08-27 | 北京谷安天下科技有限公司 | Method and device for identifying domain name by pan-resolution and electronic equipment |
CN112749170A (en) * | 2021-01-22 | 2021-05-04 | 北京直真科技股份有限公司 | DNS configuration parameter checking method applied to communication industry |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101442436A (en) * | 2007-11-20 | 2009-05-27 | 国际商业机器公司 | IP network management method and system |
CN102664758A (en) * | 2012-04-28 | 2012-09-12 | 沈阳通用软件有限公司 | Method for binding and automatically recovering network configuration |
CN103428200A (en) * | 2012-05-24 | 2013-12-04 | 国际商业机器公司 | Method and system for detecting the presence of rogue domain name service providers through passive monitoring |
CN106850866A (en) * | 2015-12-04 | 2017-06-13 | 中国移动通信集团江苏有限公司 | A kind of method and system for determining DNS data |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100424613B1 (en) * | 2002-04-22 | 2004-03-27 | 삼성전자주식회사 | Method for spoofing domain name system in local network and local network system thereof |
CN103475526A (en) * | 2013-09-18 | 2013-12-25 | 国云科技股份有限公司 | IP setting and detecting method supporting multi-VLAN virtual machine |
-
2018
- 2018-02-13 CN CN201810149794.6A patent/CN108156262B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101442436A (en) * | 2007-11-20 | 2009-05-27 | 国际商业机器公司 | IP network management method and system |
CN102664758A (en) * | 2012-04-28 | 2012-09-12 | 沈阳通用软件有限公司 | Method for binding and automatically recovering network configuration |
CN103428200A (en) * | 2012-05-24 | 2013-12-04 | 国际商业机器公司 | Method and system for detecting the presence of rogue domain name service providers through passive monitoring |
CN106850866A (en) * | 2015-12-04 | 2017-06-13 | 中国移动通信集团江苏有限公司 | A kind of method and system for determining DNS data |
Also Published As
Publication number | Publication date |
---|---|
CN108156262A (en) | 2018-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3327992A1 (en) | Method of selecting network slice and system utilizing same | |
CN103262503B (en) | Node selecting method and equipment in packet core network | |
CN108156262B (en) | A kind of method and device for the validity checking DNS configuration file | |
CN103179228A (en) | Internet protocol address analysis method and edge node | |
US9848359B2 (en) | Method for obtaining serving gateway, mobility management node, data gateway, and system | |
US20230208760A1 (en) | Entry generation method, packet sending method, device, and system | |
CN106576119A (en) | Delegation of prefixes to Wi-Fi clients connected to mobile access point routers | |
CN104092576A (en) | Network topology calculation method and device | |
CN109906636A (en) | Method and apparatus for network function | |
CN104853408B (en) | One kind is across marshalling scanning device method | |
CN105874828B (en) | Information determination method and related equipment | |
CN101198102B (en) | Method, device and system for terminal access network | |
CN106789146B (en) | Topology obtaining method and device | |
CN106533816B (en) | A kind of method and device of adjustment DNS configuration | |
CN108174408A (en) | A kind of signal processing method and device | |
CN104080099B (en) | A kind of wireless controller communication means and wireless controller | |
CN103051595B (en) | The integration method and device of mapping item in a kind of mark net | |
CN102055594B (en) | Method and device for determining charging strategy based on IP addresses | |
CN101699885A (en) | Method, device and system for allocating and querying service gateway | |
CN108464025A (en) | A kind of paging method, equipment and system | |
CN103051541B (en) | Message forwarding method, ASR and ISR in a kind of mark net | |
CN108064039B (en) | Method, device and computer storage medium for acquiring IP address | |
WO2017128625A1 (en) | Service configuration method and apparatus, and management network element | |
CN113691936B (en) | Terminal access method based on shared base station and shared base station | |
CN104038357A (en) | Virtual machine positioning method and device in layer-2 network interconnection environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |