LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting up reverse DNS and a IP address error (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-reverse-dns-and-a-ip-address-error-4175504536/)

timo_denmark 05-10-2014 12:12 AM

Setting up reverse DNS and a IP address error
 
HI there! I am a total newbie with a debian 32bit VPS.

1) IP adress error.

When connecting to my ip (999.888.99.66) in my browser i do not get my webpage, but a Firefox can't find the debian server (VPS) at www.99.66. but if i connect to 999.888.99.66/folder/myfile.php it works..

So connecting to : 999.888.99.66 - returns in www.99.66.

Anyone know where i have made a mistake?

2) anyone can guide my trough setting up the correct reverse DNS for a debian server ? Have a EHCP template..
- Need to ad a A record what is the syntax for a secondary A record
- Need to ad a 4 AAA (IP6) what is the syntax for the AAAA record
- And where do i edit the template so it effects all my domains
- And do i need to do anything else to get the above to run
- beneath is the DNS template i have in my control panel - and thanks
for helping

PHP Code:

$TTL    86400
@       IN      SOA     ns.MYWEBSITE.TLD. {dnsemail} (
                        {
serial}     ; Serialthis is www.ehcp.net dns zone template file.. 
                        
10800   Refresh
                        1200     
Retry
                        86400  
Expire
                        86400 
) ; Minimum

MYWEBSITE
.TLD.           IN NS   ns.MYWEBSITE.TLD.
ns.MYWEBSITE.TLD.        IN A    {dnsip}
ns1.MYWEBSITE.TLD.       IN A    {dnsip}
ns2.MYWEBSITE.TLD.       IN A    {dnsip}
dns.MYWEBSITE.TLD.       IN A    {dnsip}
dns1.MYWEBSITE.TLD.       IN A    {dnsip}
dns2.MYWEBSITE.TLD.       IN A    {dnsip}
MYWEBSITE.TLD.           IN A    {webip}
mail.MYWEBSITE.TLD.      IN A    {mailip}
smtp.MYWEBSITE.TLD.   IN A    {webip}
imap.MYWEBSITE.TLD.   IN A    {webip}
webmail.MYWEBSITE.TLD.   IN A    {webip}
ftp.MYWEBSITE.TLD.       IN CNAME        MYWEBSITE.TLD.
www.MYWEBSITE.TLD.       IN CNAME        MYWEBSITE.TLD.
MYWEBSITE.TLD.           IN MX  10 mail.MYWEBSITE.TLD.
MYWEBSITE.TLD.           IN TXT "v=spf1 a mx"

{customdns}

*                       
IN A    {webip


CommanderRikker 08-27-2014 05:08 PM

I would assume it's because you're using a non-routeable address, so the DNS server is assuming you're sending it a domain, not IP addresses. All numbers in the IP address must be between 0 and 254. Who gave you the address?

-Rick


All times are GMT -5. The time now is 07:17 AM.