Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

dns

Getting the IP address of server in ASP.NET?

September 2, 2022 by Magenaut

How do I get the IP address of the server that calls my ASP.NET page? I have seen stuff about a Response object, but am very new at c#. Thanks a ton.

Categories ASP.NET, Q&A Tags asp.net, c#, dns, referrer Leave a comment

Create subdomain per user

August 25, 2022 by Magenaut

How is it possible to create a subdomain for each registered user of the web-site during the registration?
For the scenario below…

Categories ASP.NET, Q&A Tags .net, asp.net, dns, iis Leave a comment

How do I get the host domain name in ASP .NET without using HttpContext.Current.Request?

August 24, 2022 by Magenaut

I’ve got an ASP .Net application running on IIS7. I’m using the current url that the site is running under to set some static properties on a class in my application. To do this, I’m getting the domain name using this (insde the class’s static constructor):

Categories ASP.NET, Q&A Tags asp.net, dns, url Leave a comment

Converting IP address to host name via DNS.GetHostEntry

August 24, 2022 by Magenaut

I am trying to get the hostname by passing in the ip address. I use the following code.

Categories ASP.NET, Q&A Tags asp.net, c#, dns Leave a comment

Fast concurrent checking of SOA DNS records for .co.za domains

August 23, 2022 by Magenaut

I want to implement bulk availability checking of .co.za domain names as accurately as possible by checking for the existence of SOA or MX records using C# ASP.NET.

Categories ASP.NET, Q&A Tags asp.net, c#, dns, mx-record, soa Leave a comment

Python lookup hostname from IP with 1 second timeout

August 17, 2022 by Magenaut

How can I look up a hostname given an IP address? Furthermore, how can I specify a timeout in case no such reverse DNS entry exists? Trying to keep things as fast as possible. Or is there a better way? Thank you!

Categories Python, Q&A Tags dns, hostname, nameservers, python Leave a comment

How to extract top-level domain name (TLD) from URL

August 17, 2022 by Magenaut

how would you extract the domain name from a URL, excluding any subdomains?

Categories Python, Q&A Tags dns, extract, parsing, python, url Leave a comment

Python ‘requests’ library – define specific DNS?

August 15, 2022 by Magenaut

In my project I’m handling all HTTP requests with python requests library.

Categories Python, Q&A Tags dns, http, python, python-requests, urllib Leave a comment

How can I do DNS lookups in Python, including referring to /etc/hosts?

August 13, 2022 by Magenaut

dnspython will do my DNS lookups very nicely, but it entirely ignores the contents of /etc/hosts.

Categories Python, Q&A Tags dns, python Leave a comment

How to configure systemd-resolved and systemd-networkd to use local DNS server for resolving local domains and remote DNS server for remote domains?

August 11, 2022 by Magenaut

I’m connected to local area network with access to the Internet through gateway. There is DNS server in local network which is capable of resolving hostnames of computers from local network.

Categories Q&A, Unix & Linux Tags dns, linux, systemd, systemd-networkd, systemd-resolved Leave a comment
Older posts
Page1 Page2 … Page4 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress