Questions tagged [dig]

dig performs DNS lookups and displays records matching the specified IP address or domain name.

213 questions
0
votes
1 answer

DNS Enumeration with DiG

I was trying to enumerate sub-domains with dig, but I can't find the subdomain names. The main domain name is unreachable, but is definitely in DNS records. If I run dig against the main domain example.com: $ dig example.com ; <<>> DiG…
Fiery
  • 1
  • 2
0
votes
1 answer

Google VM instance domain issue

I am trying to get my domain (moviefinder.app) to connect to http://34.67.108.103/. I have followed the documentation (https://cloud.google.com/dns/docs/tutorials/create-domain-tutorial). The second last step seems to be working $ dig +trace…
0
votes
1 answer

Why do domain names have IP?

If i try to dig facebook.com instead of www.facebook.com I obtain the same IP address but the first one is in "A" record for facebook.com, which is domain name and the second one is from "A" record for a hostname www.facebook.com. Why does domain…
Valikeny
  • 59
  • 4
0
votes
0 answers

How to lookup DNS Record in specific zone

For example I have a zone example.com and someone created a dotted hostname app.subzone which resolves to app.subzone.example.com in it. Now I create a new zone subzone.example.com and an record appin it. At this point I can no longer query the…
0
votes
1 answer

Check dig not on my network via command line

I want to get the results of dig (globally not on my machine) using a cli. The google toolbox would work but it doesnt seem to have a rest api https://toolbox.googleapps.com/apps/dig/#TXT/ Does anyone have any suggestions?
R. Doolan
  • 177
  • 1
  • 1
  • 12
0
votes
0 answers

why does dig udemy.com return 1.1.1.1?

So why does dig udemy.com return 1.1.1.1? When I enter https://1.1.1.1 on the browser URL, it opens a landing page from Cloudflare. ; <<>> DiG 9.17.1 <<>> udemy.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status:…
human
  • 2,250
  • 20
  • 24
0
votes
2 answers

How to process ">>" horizontally in bash

When I try the command dig +short ns kinoafisha.info >> text.csv it gives the result ns2.kinoafisha.info. ns1.kinoafisha.info. Is it possible to get results like ns2.kinoafisha.info. , ns1.kinoafisha.info. I got no clue... Please suggest
Amit Singh
  • 188
  • 9
0
votes
1 answer

Resolving dig command issue in linux

Please help me in resolving the dig command issue in my machine: Ubuntu 18.04. Here's what the output comes when I run dig google.com output ---> source lang: en ----> target lang: zh-CN google.com
Aman Gupta
  • 400
  • 1
  • 9
0
votes
1 answer

Dig command repated SERVER value

I'm exploring the various options of dig command. I have disabled all output except the stats section: $ options="+noanswer +nocmd +nocomments +stats" $ dig example.com $options ;example.com. IN A ;; Query time: 41 msec ;; SERVER:…
builder-7000
  • 7,131
  • 3
  • 19
  • 43
0
votes
1 answer

Wrong DNS answer using dns.resolver

I'm using the very useful pythondns library. Unfortunately I am receiving wrong answers from it. Or should I say, I receive a noAnswer when I should have a resolution. Here is my code: import dns.resolver my_resolver =…
0
votes
0 answers

Nameserver returns different records on different machines

I'm facing with this strange DNS issue on one of the CentOS boxes, in which the authoritative NS returns outdated records, which results in failure in the resolution. The domain I'm trying to resolve is chengyu.ga. Let's call the problematic CentOS…
scabbage
  • 1,412
  • 2
  • 15
  • 27
0
votes
2 answers

How to verify that a DNS server is valid without having an available hostname to test queries on? (Linux)

I know you can test if a DNS server is valid by running: dig +short test_hostname @nameserver But what if we don't have a test_hostname to test queries with? For example if the system we want to run this command on is within a restricted network…
0
votes
0 answers

Understanding 'dig google.com' command

I'm trying to get a deeper understanding of what exactly the dig command does in terms of different computing levels (OS level, network level, and dns functionality) I'm looking for some feedback and help making my understanding as detailed as…
Martin
  • 1,336
  • 4
  • 32
  • 69
0
votes
1 answer

Run `whois` and `host` on all public IPv4 and IPv6 addresses of a UNIX host

In UNIX shell, I'd like to script getting all public IPv4 and IPv6 addresses of my gateway, print it back, and then run both whois and host on all found addresses. Additionally, because my connection is load-balanced, there might be more than one…
cnst
  • 25,870
  • 6
  • 90
  • 122
0
votes
1 answer

Check if dns-zone exists on specific nameserver

If I understand the following Linux command correctly, the query only starts at the given nameserver, but if it doesn't find a dns-zone there it sends the request on to the tld-nameserver. dig mydomain.example @ns.mynameserver.example My problem is…