473,405 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Access DNS from an ASP.Net Site

Hello

Does anybody know, how I can create new Recorts in a DNS Server from an
ASP.Net Application?
I will build this on a Web managemant site.

Thanks & Best Regards
Roger
Nov 18 '05 #1
7 1571
Does realy nobady have an idea how to access a DNS Server from ASP.Net ?
"Roger Bavaud" <NG@bavaud.no-ip.com> wrote in message
news:cd**********@atlas.ip-plus.net...
Hello

Does anybody know, how I can create new Recorts in a DNS Server from an
ASP.Net Application?
I will build this on a Web managemant site.

Thanks & Best Regards
Roger

Nov 18 '05 #2
"Roger Bavaud" <NG@bavaud.no-ip.com> wrote in news:41024d48$1_1
@news.tiscalinet.ch:
Does realy nobady have an idea how to access a DNS Server
from ASP.Net ?


If you want to create new DNS records from your ASP.net site, you have to
come up with a way to update your DNS Server configuration. There is no
generic answer to that question; everything depends on how your DNS server
can be configured. If it's running on a different box (and perhaps a unix
platform?), you have to communicate your requests that way. HTTP or SOAP
might be good alternatives. But anyway, everything starts not from ASP.net,
but from the DNS server end. How do you manually add DNS records? Can this
approach be simulated programmatically?
--
Jouni Heikniemi, jo********@heikniemi.net
http://www.heikniemi.net/hc/ (blog)
Nov 18 '05 #3
<%@ import namespace="System.Net" %>

<%@ import namespace="System.Net.Sockets" %>

dim dnsstr as string

dim subs as string

dim edns as string

if isvalid then

edns= email.text' this is the email textbox

subs=edns.substring(edns.indexof("@")+1)

dnsstr= dns.resolve(subs).addresslist(0).tostring()

have fun

"Jouni Heikniemi" <jo********@heikniemi.net> wrote in message
news:Xn**********************************@127.0.0. 1...
"Roger Bavaud" <NG@bavaud.no-ip.com> wrote in news:41024d48$1_1
@news.tiscalinet.ch:
Does realy nobady have an idea how to access a DNS Server
from ASP.Net ?
If you want to create new DNS records from your ASP.net site, you have to
come up with a way to update your DNS Server configuration. There is no
generic answer to that question; everything depends on how your DNS server
can be configured. If it's running on a different box (and perhaps a unix
platform?), you have to communicate your requests that way. HTTP or SOAP
might be good alternatives. But anyway, everything starts not from

ASP.net, but from the DNS server end. How do you manually add DNS records? Can this
approach be simulated programmatically?
--
Jouni Heikniemi, jo********@heikniemi.net
http://www.heikniemi.net/hc/ (blog)

Nov 18 '05 #4
Hi

I have an Active Directory Integrated DNS Server (Our DC's are also DNS
Servers / Windows 2003). Normaly I Mange this Servers with Microsofts DNS
MMC.
The Webserver witch will run my ASP.Net Site is an Memberserver in this
Doamin (IIS 6.0 / Windows 2003).

"Jouni Heikniemi" <jo********@heikniemi.net> wrote in message
news:Xn**********************************@127.0.0. 1...
"Roger Bavaud" <NG@bavaud.no-ip.com> wrote in news:41024d48$1_1
@news.tiscalinet.ch:
Does realy nobady have an idea how to access a DNS Server
from ASP.Net ?
If you want to create new DNS records from your ASP.net site, you have to
come up with a way to update your DNS Server configuration. There is no
generic answer to that question; everything depends on how your DNS server
can be configured. If it's running on a different box (and perhaps a unix
platform?), you have to communicate your requests that way. HTTP or SOAP
might be good alternatives. But anyway, everything starts not from

ASP.net, but from the DNS server end. How do you manually add DNS records? Can this
approach be simulated programmatically?
--
Jouni Heikniemi, jo********@heikniemi.net
http://www.heikniemi.net/hc/ (blog)

Nov 18 '05 #5
Hello

I think one possible sulution can be the use of dnscmd.cmd with the
parameter /recordadd (From the Windows Server Support Tools).
This works fine from a local commend window on the Webserver. But I don't
have any idea, how I can run this tool from a ASP.Net Site.
Does anybody know a simple solution to run this Tool (with command line
arguments)?
"Roger Bavaud" <NG@bavaud.no-ip.com> wrote in message
news:cd**********@atlas.ip-plus.net...
Hello

Does anybody know, how I can create new Recorts in a DNS Server from an
ASP.Net Application?
I will build this on a Web managemant site.

Thanks & Best Regards
Roger

Nov 18 '05 #6
"Roger Bavaud" <NG@bavaud.no-ip.com> wrote in news:4105235d$1_2
@news.tiscalinet.ch:
Does anybody know a simple solution to run this Tool (with command line
arguments)?


Try System.Diagnostics.Process class and its Start() method.
--
Jouni Heikniemi, jo********@heikniemi.net
http://www.heikniemi.net/hc/ (blog)
Nov 18 '05 #7
Hi Jouni

Tanks for your help. It's works fine now.

Best Regards
Roger
"Jouni Heikniemi" <jo********@heikniemi.net> wrote in message
news:Xn**********************************@127.0.0. 1...
"Roger Bavaud" <NG@bavaud.no-ip.com> wrote in news:4105235d$1_2
@news.tiscalinet.ch:
Does anybody know a simple solution to run this Tool (with command line
arguments)?


Try System.Diagnostics.Process class and its Start() method.
--
Jouni Heikniemi, jo********@heikniemi.net
http://www.heikniemi.net/hc/ (blog)

Nov 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: /dev/null | last post by:
I have some php-based software that I'd like to make available to some businesses that run on my web server (apache on Linux). These businesses have full access to all their web files. I'd like...
8
by: Frnak McKenney | last post by:
Back when computer dinosaurs roamed the earth and the precursors to today's Internet were tiny flocks of TDMs living symbiotically with the silicon giants, tracking access to data processing...
8
by: John Baker | last post by:
Hi: I am URGENTLY in need of some book or web site OR tool that will help me integrate a relatively simple access application into a web page or pages. This is a time recording system (by...
3
by: Lyle Fairfield | last post by:
In a recent thread there has been discussion about Data Access Pages. It has been suggested that they are not permitted on many or most secure sites. Perhaps, that it is so, although I know of no...
2
by: Brandon | last post by:
I'm getting a Web Access Failed dialog when trying to create a new ASP.NET Web Application. VB.net 2003 on XPSP2 SBS 2003, IIS6 In IIS, I created a new site with a "testsite" host header...
4
by: TrinityPete | last post by:
Hi all, We have a web application that uses web services for data access and retrieval. The web app and web services reside under IIS on the same server(WIN2003). The virtual directories have...
16
by: Ben Sehara | last post by:
Is there any way I can limit the access to my website? I have a site "A" and I want to allow access to it only from site "B" login user. If someone try to access site "A" directory, I want it...
1
by: jscannell | last post by:
I have IIS 5.1 installed on my PC with XP Pro SP2 o.s. I have 4 websites successfully running. Three of them use MS Access and one uses SQL Server 2000 (MSDE) as the data source. They all are...
0
by: raylopez99 | last post by:
10 years ago, the below was written (see very end, after my signature RL). What, if anything, has changed? I have Access 2003 and soon Access 2007 on a Windows XP Professional or Windows...
9
by: prakashwadhwani | last post by:
Hi !! I'm about to develop a new project for a client. Should I go about it in Access 2003 or 2007 ? Purchasing it either for me or for my client is not a major consideration here ... what I'd...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.