This is based on a question asked in the book "Computer Networking: Principles, Protocols and Practice" by Olivier Bonaventure. I've read the man pages of both dig and curl on my Linux terminal, but I can't seem to understand how it will help in finding out the physical host of a given website. Do we use both statements separately? Or do we pipe them into one statement?
Determining the physical host of a website using dig and curl
224 Views Asked by Ramon Zarate At
1
There are 1 best solutions below
Related Questions in HTTP
- Handling both JSON and form values in POST request body with unknown values in Golang
- Why can't I use PUT requests?
- nginx set up reverse proxy from subfolder to a port
- Async Web Server RP2040 returning ERR_CONNECTION_REFUSED?
- Getting `FormatException: Missing extension byte (at offset 6)` exception for accessing `response.body` from a server deployed in Vercel
- Retrieving list of values from MYSQL data base based on input value(LARAVEL 10 )(GET HTTP METHOD)
- Unable to add request headers via CHttpFile - C++/MFC
- Why do we call all http services 'Web Api/Web Service'?
- How to correctly read POST REQUEST body on ESP32?
- on linux gitclone issue remote server error showing fatal error with proxy n port
- Elasticsearch - cascading http inputs from Airflow API
- How to clean the html pages opened in a session?
- UTF-8 is not a valid encoding name
- I dont get the Result i expected when i want to get my Telegram Chatbot id
- NextJS 14 SSE with TransformStream() sending messages in a single response
Related Questions in CURL
- How to "Enable mobile data" on a Huawei E3372 4G USB dongle using a bash script in Windows
- Issue with sending POST request using Python requests library
- Is there a way to upload a file in digital ocean object storage using php curl
- Curl URL syntax for uploading files
- How to set Postman Settings to mimic the effect the -k option of curl
- Postman Webservice PHP Curl Code POST request giving forbidden error when run in local
- Facebook cURL for custom conversion tracking API error 100
- Can not submit VAT Return to https://test-api.service.hmrc.gov.uk/organisations/vat/{vrn}/returns
- curl does not work in EC2 instance due to some limitation?
- How to solve error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: early EOF
- CURL got Could not resolve host: my subdomain
- How to list all folders with more then 10 artifacts in artifactory repo using CURL?
- Add existing product to order with shopware 6 api
- Trying to use LogMeIn API to access list of users in a node in PHP
- Istio Egress Gateway Configuration
Related Questions in DIG
- Issue with ansible dig Argument 'text' has incorrect type (expected str, got AnsibleUnicode)
- Some browsers won't resolve DNS A records of private IP range
- What is the best to poll DNS CNAME update?
- I use dig and dnspython to make DOH query, dig succeed but why dnspython fail?
- About AWS Route53 public host zone and private host zone
- socat and dig simulate DNS request on localhost DNS server
- Use an existing DNSdig (golang) in a return to display JSON (VueJS)
- Ansible - How to 'wait_for' DNS to be available or How using lookup('dig') with 'until'
- Anyone know how to install dig into the codebuild v5 image on AWS?
- Block access to website from router(using its IP adress)
- Why do IP addresses given by dig not work?
- Bash: pinging servers and writing the IP to a file
- How to use IP address with whois, after digging it using shell_exec PHP?
- what does "QUERY" mean in the reponse of dig?
- dig return connection timed out; no servers could be reached
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm pretty sure what is meant here is finding out what IP is being used.
You would use dig to get the A record:
That would give you the physical host of: 130.104.228.160
You can do the same with curl:
Pay special attention to the the output:
Connected to www. info. ucl. ac. be (130.104.228.160) port 443 (#0)