LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-04-2018, 12:10 PM   #16
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032

The trace looks "correct":
Code:
dig +trace 96.178.61.179.in-addr.arpa
<-snip->
178.61.179.in-addr.arpa. 86400	IN	NS	NS9.HOST1PLUS.COM.
178.61.179.in-addr.arpa. 86400	IN	NS	NS10.HOST1PLUS.COM.
178.61.179.in-addr.arpa. 86400	IN	NS	NS8.HOST1PLUS.COM.
178.61.179.in-addr.arpa. 10800	IN	NSEC	179.61.179.in-addr.arpa. NS RRSIG NSEC
<-snip->
96.178.61.179.in-addr.arpa. 3600 IN	NS	198.58.120.134.
;; Received 83 bytes from 179.61.195.24#53(NS9.HOST1PLUS.COM) in 200 ms

96.178.61.179.in-addr.arpa. 10800 IN	SOA	ns1.yournameserver.com. root.domain.com. 2007040301 14400 3600 604800 10800
;; Received 125 bytes from 198.58.120.134#53(198.58.120.134) in 192 ms
On the other hand
Code:
dig -x 179.61.178.96 

; <<>> DiG 9.12.1 <<>> -x 179.61.178.96
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 56574
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
<-snip->
I used "correct" because the SOA RR is nonsense...
Use the example in post #4 along with a TTL in 1st line and a recent serial number, restart named and test!
 
Old 05-04-2018, 12:11 PM   #17
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Original Poster
Rep: Reputation: Disabled
Guys any help ?
 
Old 05-04-2018, 12:29 PM   #18
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Original Poster
Rep: Reputation: Disabled
here what i did :

$TTL 86400
@ IN SOA ns1.yournameserver.com. root.domain.com. (
2018050401 ;serial
14400 ;refresh
3600 ;retry
604800 ;expire
10800 ;minimum
)


96.178.61.179.in-addr.arpa. IN NS li654-134.members.linode.com.
96.178.61.179.in-addr.arpa. IN PTR li654-134.members.linode.com.



and named.conf same


same not working !
 
Old 05-04-2018, 01:17 PM   #19
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
@ IN SOA ns1.yournameserver.com. root.domain.com. (
<-snip->
96.178.61.179.in-addr.arpa. IN PTR li654-134.members.linode.com.
Why on earth don't you use the actual names? And now changed also the PTR RR!!
Use an $ORIGIN and the correct values for SOA this time:
Code:
$TTL 86400
$ORIGIN 96.178.61.179.in-addr.arpa.
@ IN SOA li654-134.members.linode.com. root.li654-134.members.linode.com. (
2018050402 ;serial ***I'VE ALREADY INCREASED IT BUT YOU MAY HAVE TO INCREASE IT FURTHER***
14400 ;refresh
3600 ;retry
604800 ;expire
10800 ;minimum
)

96.178.61.179.in-addr.arpa. IN NS li654-134.members.linode.com.
96.178.61.179.in-addr.arpa. IN PTR li654-134.members.linode.com.
Apart from that, you can run:
Code:
named-checkconf -z
named-checkzone 96.178.61.179.in-addr.arpa /var/named/178.61.179.in-addr.arpa
If it still doesn't work, perhaps you need to run a packet sniffer (tcpdump) and look for errors.


Quote:
Originally Posted by dr.x View Post
Guys any help ?
And please don't bump your own threads.
 
Old 05-12-2018, 12:21 PM   #20
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Original Poster
Rep: Reputation: Disabled
Guys i would like to say that i was able to have it working and i was able to setup Rdns on my own server .

i have other Question now , how can i let other sever to answer this Rdns ?

the record reach my server for Rdns check , then i will FWD it to other dns server and the other one answer the Rdns .

whats config do i need to modify ?

do i need to modify named.conf ?

or

the /var/named/xxx.in arp a file ?


regards
 
Old 05-12-2018, 05:17 PM   #21
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Guys i would like to say that i was able to have it working and i was able to setup Rdns on my own server .
Why you say that it's working? From here looks like you made things worse!
You broke the delegation between your ISP dns and yours and now you have a loop:
Code:
dig +trace 96.178.61.179.in-addr.arpa

; <<>> DiG 9.12.1 <<>> +trace 96.178.61.179.in-addr.arpa
;; global options: +cmd
<-snip->
178.61.179.in-addr.arpa. 86400	IN	NS	NS8.HOST1PLUS.COM.
178.61.179.in-addr.arpa. 86400	IN	NS	NS10.HOST1PLUS.COM.
178.61.179.in-addr.arpa. 86400	IN	NS	NS9.HOST1PLUS.COM.
178.61.179.in-addr.arpa. 10800	IN	NSEC	179.61.179.in-addr.arpa. NS RRSIG NSEC
178.61.179.in-addr.arpa. 10800	IN	RRSIG	NSEC 5 5 10800 20180530142552 20180430142324 39315 179.in-addr.arpa. aBgCLjQOq3i9iQFLIEFo4jBuyr9iaO94YKLL+Y0kHEb8qEKmO9UuXFMa doEjHwT9ONcX4AeJZ4KsQ3ohFjC3x+SU3AFTlzHBuP86uHJwUcCIf8eo RJHStrRGSl/RzyQAoSnCJDHsi4/OvyldtBTH7crzvQA0Z/+SQn/4sKvn t3h4JIf4Of5j/2kekqwhzGghGUGve355H8EJX2WoVhbe1PchjQqvu3do Yq1CR+Wd0kknIEubOKzfuXxRXFNRvQ6YN7rgYM8m2sxq9duz3l/65SWh dCLMEArFLAlwzWsInR08Q3Yn9W+D1av3UGCrOIGx1bjJJrcquSC66zpn 8RpQCw==
;; Received 472 bytes from 200.3.13.10#53(ns.lacnic.net) in 290 ms

96.178.61.179.in-addr.arpa. 3600 IN	NS	198.58.120.134.
;; Received 83 bytes from 191.101.62.70#53(NS10.HOST1PLUS.COM) in 291 ms

96.178.61.179.in-addr.arpa. 3122 IN	NS	198.58.120.134.
;; BAD (HORIZONTAL) REFERRAL
;; Received 83 bytes from 198.58.120.134#53(198.58.120.134) in 213 ms
<-snip->
96.178.61.179.in-addr.arpa. 3117 IN	NS	198.58.120.134.
;; BAD (HORIZONTAL) REFERRAL
dig: too many lookups
 
Old 05-13-2018, 06:39 AM   #22
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Original Poster
Rep: Reputation: Disabled
i see .
as i told you i just have the RDNS sent to my server and was able to have the PTR working 100 %

now i want to send the RDNS to other sever
i don't want to be responsible for the RDNS my side .
i will just be like transparent and send the RDNS to other server to answer it

can you help me out plz ?

i ready much much and no helping !!

I'm doing it on /24

kind regards
 
Old 05-13-2018, 10:12 AM   #23
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
now i want to send the RDNS to other sever
i don't want to be responsible for the RDNS my side .
i will just be like transparent and send the RDNS to other server to answer it
You should talk with your ISP, so he remove the delegation of that IP to your dns.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to configure DNS using BIND package in Oracle Linux 6.6 tesla75 Linux - Networking 6 05-27-2015 07:49 AM
BIND - reverse dns queries only working locally, forward dns works fine. SloS13 Linux - Networking 3 08-25-2011 12:46 PM
how to setup reverse ip using bind dns cheesewizz Linux - Networking 3 08-02-2011 04:19 AM
DNS/Bind reverse zone file confusion sjphares Linux - Networking 1 12-22-2009 02:29 PM
reverse lookup entry in DNS configuration using BIND bzlaskar Linux - Server 1 05-14-2007 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration