• 0 Posts
  • 5 Comments
Joined 2 years ago
cake
Cake day: July 9th, 2023

help-circle
  • Well, dig is available also of course, but nearly all distros still include nslookup despite it getting deprecated. I like the simplicity of its interactive mode.

    Host is also really great with more human-readable output.

    Don’t get me wrong, when things are getting hairy, you’re going to make a lot of use of dig. I just find that most troubleshooting can be taken care of a lot simpler with host or nslookup.



  • Yeah if you can dig a record and received a response it’s not a routing issue.

    But aren’t you on the same subnet as your DNS server? There’s no routing happening if you’re on the same subnet which I was assuming.

    Even through dig defaults to outputting A records when no other options are specified, I would use the A option anyway just in case:

    dig @192.168.0.249 study.lan A
    

    If you use “ping study.lan” do you see it output the A record IP address in the first line of output?

    Did you try using nslookup as I described?