Dig

DNS lookup utility to provide 'A' and 'PTR' record.

python · Common Scripts

Details

IDDig
Languagepython
From Version6.0.0
Docker Imagedemisto/netutils:1.0.0.11867191
TagsUtility

README

DNS lookup utility to provide ‘A’ and ‘PTR’ record

Script Data


Name Description
Script Type python3
Tags Utility
Cortex XSOAR Version 6.0.0

Inputs


Argument Name Description
server The IP address or hostname of the name server to query. The default value will be taken from /etc/resolv.conf e.g. 8.8.8.8
name Name of the resource record to look up e.g. paloaltonetworks.com. For reverser lookup, provide IP address
reverseLookup Perform reverse lookup

Outputs


There are no outputs for this script.

args:
- description: The IP address or hostname of the name server to query. The default value will be taken from /etc/resolv.conf e.g. 8.8.8.8.
  name: server
- description: Name of the resource record to look up e.g. paloaltonetworks.com. For reverser lookup, provide IP address.
  name: name
  required: true
- auto: PREDEFINED
  default: true
  defaultValue: "False"
  description: Perform reverse lookup.
  name: reverseLookup
  predefined:
  - "False"
  - "True"
comment: 'DNS lookup utility to provide ''A'' and ''PTR'' record.'
commonfields:
  id: Dig
  version: -1
dockerimage: demisto/netutils:1.0.0.11867191
enabled: true
name: Dig
script: ''
scripttarget: 0
subtype: python3
tags:
- Utility
type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)