Add nameserver rule

master
Sven Slootweg 11 years ago
parent b651144c38
commit d3ad2e666a

@ -65,6 +65,7 @@ grammar = {
'name_servers': ['(?P<val>[a-z]*d?ns[0-9]+([a-z]{3})?\.([a-z0-9-]+\.)+[a-z0-9]+)',
'(?P<val>[a-z0-9-]+\.d?ns[0-9]*\.([a-z0-9-]+\.)+[a-z0-9]+)',
'(?P<val>([a-z0-9-]+\.)+[a-z0-9]+)(\s+([0-9]{1,3}\.){3}[0-9]{1,3})',
'nserver:\s*(?P<val>.+)\s*[\[]?',
'DNS[0-9]+:\s*(?P<val>.+)',
'ns[0-9]+:\s*(?P<val>.+)',
'[^a-z0-9.-](?P<val>d?ns\.([a-z0-9-]+\.)+[a-z0-9]+)'],

Loading…
Cancel
Save