* @link http://www.steffenvogel.de */ /* * This file is part of sddns * * sddns is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * sddns is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with sddns. If not, see . */ require_once 'include/init.php'; $output = Output::start('html'); $output->add('hits since launch', 'notice', $site['hits']); if (isAuthentificated()) { $output->add('authentificated as', 'notice', $_SERVER['PHP_AUTH_USER']); } $ttl = (!empty($_REQUEST['ttl'])) ? $_REQUEST['ttl'] : $config['sddns']['std']['ttl']; $lifetime = (!empty($_REQUEST['lifetime'])) ? $_REQUEST['lifetime'] : (isAuthentificated()) ? 0 : $config['sddns']['std']['lifetime']; $class = (!empty($_REQUEST['class'])) ? $_REQUEST['class'] : $config['sddns']['std']['class']; $rdata = (!empty($_REQUEST['rdata'])) ? $_REQUEST['rdata'] : $_SERVER['REMOTE_ADDR']; // type if (!empty($_REQUEST['type'])) { if (in_array($_REQUEST['type'], $config['sddns']['types'])) { $type = $_REQUEST['type']; } else { throw new UserException('invalid type'); } } else if (IpV4::isValid($rdata)) { $type = 'A'; } else if (IpV6::isValid($rdata)) { $type = 'AAAA'; } else { $type = $config['sddns']['std']['type']; } ?>
/dev/nulll

Tiny DNS & URL

Expert interface

by Steffen Vogel


include debugging information
. optional; random or servername
seconds time to live in cache; max seconds
seconds lifetime of a record/url without being updated/touched; max
hide uri in a frameset
optional; random generated

simple mode - admin - '; ?> login - '; ?> usage - wiki - bookmarklet - search plugin