473,387 Members | 1,440 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,387 software developers and data experts.

nslookup problem

Hi

I am trying to put a web page together that will allow the user to find the
MX record for a domain.

I have found PHP code that uses nslookup but when I use it, I receive a
"Page cannot be displated" error. The URL in the address bar is the source
folder of my initial form page with nslookup.php on the end.

Can anyone tell me how to do this or what is wrong.

Thanks

Stuart Duncan


Aug 24 '06 #1
2 3213
Stuart Duncan schreef:
I am trying to put a web page together that will allow the user to find the
MX record for a domain.

I have found PHP code that uses nslookup but when I use it, I receive a
"Page cannot be displated" error. The URL in the address bar is the source
folder of my initial form page with nslookup.php on the end.

Can anyone tell me how to do this or what is wrong.
Don't bother with nslookup, just do: checkdnsrr($domain).
JW
Aug 24 '06 #2
*** Stuart Duncan escribió/wrote (Thu, 24 Aug 2006 07:43:19 GMT):
I have found PHP code that uses nslookup but when I use it, I receive a
"Page cannot be displated" error. The URL in the address bar is the source
folder of my initial form page with nslookup.php on the end.

Can anyone tell me how to do this or what is wrong.
I'd say there's something wrong in your PHP code.
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Aug 24 '06 #3

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

Similar topics

8
by: TomT | last post by:
Hi, I've been searching but have not been able to find a script that will allow nslookup's using ASP. I'm looking to use a form, that will allow users to enter IP addresses or domian names,...
6
by: axxegfx | last post by:
I need to resolve one domain , i have proved this: System.Net.Dns.GetHostByName("digitalprologic.com") but it returns an error. I have typed DOS nslookup -querytype=any digitalprologic.com...
0
by: ginn via DotNetMonster.com | last post by:
Hi, To block spam-mails I want to write my own blackhole list server for my Postfix mailserver in .NET In postfix i would have to add the line reject_rbl_client <myBlackList> to the...
1
by: kcw3388 | last post by:
Hi, I have a SunOS TCP/IP client program worked fine for a long time until yesterday. Now, my TCP/IP server program is located on different DNS server. The gethostbyaddr ( ) is now...
1
by: Franco Figún | last post by:
Hi everyone I need to simulate NSLOOKUP but with asp.net in c# o vb.net, any idea? I don't need a very complex example, only 2 textbox for the domain and other for the DNS server, and one button,...
0
by: pmclinn | last post by:
I'm looking to find the code to do an nslookup via my own dns like this: MyDNS = xxx.xxx.xxx.xxx result = resolve this ip(yyy.yyy.yyy.yyy) via this server MyDNS I have seen many examples...
7
usafshah
by: usafshah | last post by:
When i try nslookup from my domain (either from domaincontroller or from any client) it says C:\Users\usaf.EITS>nslookup Default Server: UnKnown Address: 192.168.0.100:53 why UNKNOWN ?
1
by: nitinpatel1117 | last post by:
Hi I have been trying to use the php exec and nslookup for DNS lookups on a windows platform. but whenever i execute the code i get the following error: Unable to fork I am pretty sure that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.