View Full Version : setting up a dns server (MYDNS)
timgerr
3rd March 2006, 05:55
Are there any easy tutorials for createing (not installing) a DNS server with MYDNS?
Thanks
Timgerr
falko
3rd March 2006, 10:57
Yes: http://www.howtoforge.com/mydns_name_server :)
timgerr
3rd March 2006, 22:57
I was thinking allong the lines of how to setup the forwared zone and stuff.
falko
4th March 2006, 00:37
You can check the MyDNS documentation ( http://mydns.bboy.net/doc/html/mydns_toc.html#SEC_Contents ), or you can use the MyDNS web interface or MyDNSConfig ( www.mydnsconfig.org ). They assist you in creating your records.
remstedt
3rd April 2006, 12:55
I've follow the "Running a MySQL-Based DNS Server HowTo" up to page 2, and then trying to access the Web-interface - http://host/admin.php but the pages appears to be just "white", without any content!? Any suggestion on this?
falko
3rd April 2006, 21:33
In which directory did you put admin.php? The default Apache document root on Fedora is /var/www/html, not /var/www like on Debian.
remstedt
4th April 2006, 12:42
... it's in the /var/www/html
- do I need to change anything within "admin.php"?
thank's for your quick response.
In which directory did you put admin.php? The default Apache document root on Fedora is /var/www/html, not /var/www like on Debian.
falko
4th April 2006, 16:54
It's all described here: http://www.howtoforge.com/mydns_name_server_p2 :)
remstedt
5th April 2006, 08:15
... still cant't Brows that "admin.php" - here is what come out from /var/log/httpd/error_log:
Wed Apr 05 06:51:53 2006] [error] [client 83.248.120.87] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0, referer:
www.google.se/search?hs=M8J&hl=sv&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=http%3A%2F%2Fremstedt.org%2Fadmin.php&btnG=S%C3%B6k&meta=
[Wed Apr 05 06:51:53 2006] [error] [client 83.248.120.87] PHP Warning: Unknown: Failed opening '/var/www/html/admin.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0, referer: http://www.google.se/search?hs=M8J&hl=sv&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=http%3A%2F%2Fremstedt.org%2Fadmin.php&btnG=S%C3%B6k&meta=
It's all described here: http://www.howtoforge.com/mydns_name_server_p2 :)
falko
6th April 2006, 00:55
Did you disable SELinux? If not, do it now: http://www.howtoforge.com/forums/showpost.php?p=15327&postcount=20
remstedt
6th April 2006, 12:34
yes, SELinux has been diabled the whole way. Could it has something to do with FC5? Are there any kind of "php-test" that could be done? This is strange ...
Did you disable SELinux? If not, do it now: http://www.howtoforge.com/forums/showpost.php?p=15327&postcount=20
falko
7th April 2006, 13:28
Please make sure that PHP Safe Mode is disabled in your php.ini.
remstedt
12th April 2006, 09:22
hi again,
I've since last time installed FC4, and now I can access the "admin.php" and use the Original MyDNS Web Interface, so that's great! But unfurtunately, I can't now access the Web Interface on "MyDNSConfig"!? It's just showing a white pages.
Here are my "phpinfo.php" http://remstedt.org/phpinfo.php
Please make sure that PHP Safe Mode is disabled in your php.ini.
till
12th April 2006, 09:54
Please check if the path and URL to the MyDNSConfig webinterace in the config.inc.php file are correct.
remstedt
12th April 2006, 11:34
if you mean the: $conf["rootpath"] it seams to be correct.
thank's anyway for your responce.
Please check if the path and URL to the MyDNSConfig webinterace in the config.inc.php file are correct.
falko
12th April 2006, 11:40
Anything in the Apache error log?
In which directory did you install MyDNSConfig?
remstedt
12th April 2006, 12:10
* output from error-log:
PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line0,
referer:http://www.google.se/search?hs=H1F&hl=sv&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=http%3A%2F%2Fremstedt.org%2Fmydnsconfig&btnG=S%C3%B6k&meta=
PHP Warning: Unknown: Failed opening '/var/www/html/mydnsconfig/index.htm' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0, referer: http://www.google.se/search?hs=H1F&hl=sv&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=http%3A%2F%2Fremstedt.org%2Fmydnsconfig&btnG=S%C3%B6k&meta=
* it's installed in /var/www/html/mydnsconfig
Anything in the Apache error log?
In which directory did you install MyDNSConfig?
falko
12th April 2006, 12:46
Please post the output of ls -la /var/www/html/mydnsconfig
remstedt
12th April 2006, 13:01
[root@remstedt mydnsconfig]# ls -all
total 48
drwxr-xr-x 8 root root 4096 Apr 12 11:12 .
drwxr-xr-x 4 root root 4096 Apr 10 07:27 ..
drwxr-xr-x 2 root root 4096 Apr 10 07:29 cache
-rwx------ 1 root root 280 Apr 10 07:29 index.htm
-rw-r--r-- 1 root root 5639 Apr 10 07:29 INSTALL
drwxr-xr-x 4 root root 4096 Apr 12 10:42 lib
drwxr-xr-x 2 root root 4096 Apr 10 07:29 sql
drwxr-xr-x 2 root root 4096 Apr 10 07:29 temp
drwxr-xr-x 2 root root 4096 Apr 10 07:29 tools
drwxr-xr-x 7 root root 4096 Apr 10 07:29 web
[root@remstedt mydnsconfig]#
Please post the output of ls -la /var/www/html/mydnsconfig
falko
13th April 2006, 00:47
Ok, it's a permissions problem. Please run chown -R apache:apache /var/www/html/mydnsconfig
remstedt
13th April 2006, 07:09
Thanks a lot!!
Ok, it's a permissions problem. Please run chown -R apache:apache /var/www/html/mydnsconfig
remstedt
14th April 2006, 10:50
after I've setup some "record's" then logout and log back in, I can't modify user nor any record cuz of a error-msg saying "you don't have the permission to wiew this record or ..."??
any hint on this one?
Ok, it's a permissions problem. Please run chown -R apache:apache /var/www/html/mydnsconfig
falko
14th April 2006, 15:17
Are you trying to log in as admin?
remstedt
14th April 2006, 15:23
yes, I've not created any "user".
Are you trying to log in as admin?
falko
14th April 2006, 16:06
Did you have a look at this thread? http://www.howtoforge.com/forums/showthread.php?t=2665
remstedt
14th April 2006, 20:20
yes, I've been in there - and also without any success ...
Did you have a look at this thread? http://www.howtoforge.com/forums/showthread.php?t=2665
till
15th April 2006, 11:39
If you can send me a mysql database dump of your mydnsconfig DB b mail to dev [at] ispconfig [dot] org i will try to have a look on it at tuesday when I'am back in office.
remstedt
20th April 2006, 12:46
Till, have you recieved my DB I've sent?
If you can send me a mysql database dump of your mydnsconfig DB b mail to dev [at] ispconfig [dot] org i will try to have a look on it at tuesday when I'am back in office.
remstedt
8th May 2006, 08:23
why do not any off You just reply on this - for example, saying something like;
"We have received the DB and are working on this" "have no time for the moment"
"this problem is still not solved" ... that might be more easy to understand.
Till, have you recieved my DB I've sent?
Send Till a private message. We are very busy and answer a lot of posts every day, so it's possible that some posts slip through our hands. Don't take it personally. :)
remstedt
18th May 2006, 13:23
ok, I've send Till a PM last week and not yet without any response - do you have any advice how to go further on this?
Send Till a private message. We are very busy and answer a lot of posts every day, so it's possible that some posts slip through our hands. Don't take it personally. :)
ok, I've send Till a PM last week and not yet without any response - do you have any advice how to go further on this?
Sorry, I dont see your PM. Ill try to have a look at your sql-dump the next days.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.