Re: [Freeipa-users] cannot delete PTR DNS records from the command line

2014-02-13 Thread Brent Clark
Hmm, amazing what works when you spell stuff right.

Epic Fail on my part. Face plant in the mud.

Apologies to all for such silliness that I have put you all thru.

Thanks!


On Thu, Feb 13, 2014 at 9:25 AM, Petr Vobornik  wrote:

> Hello,
>
> The zone name is:
> 41.100.10.in-addr.arpa.
> Not:
> 41.100.10.in-addr-arpa.
>
> HTH
>
>
> On 13.2.2014 16:40, Brent Clark wrote:
>
>> Here are the results of the commands asked for. Also attached is a png of
>> the webui showing the zone and record exists that I want to delete.
>>
>> Many Thanks!
>>
>>
>> ipa dnsrecord-find 41.100.10.in-addr-arpa. 250
>> 
>> Number of entries returned 0
>> 
>>
>> ipa dnszone-show 41.100.10.in-addr-arpa.
>> ipa: ERROR: 41.100.10.in-addr-arpa.: DNS zone not found
>>
>> host 10.100.41.250
>> 250.41.100.10.in-addr.arpa domain name pointer test1.test.com.
>>
>>
>>
>>
>> On Thu, Feb 13, 2014 at 8:23 AM, Petr Spacek  wrote:
>>
>>  On 13.2.2014 16:15, Brent Clark wrote:
>>>
>>>  I have run into a problem where I cannot delete PTR DNS records from the
 command line. This is something that until recently I have never
 attempted.

 IPA version = ipa-server-2.2.0-17.el6_3.1.x86_64

 When I try to delete a PTR record I get this message.
 ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1
 ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified

 ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1.test.com
 ipa: ERROR: 250: DNS resource record not found

 ipa dnsrecord-del 41.100.10.in-addr-arpa. test1.test.com. --ptr-rec 250
 ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified

 Its got to be a simple thing I am missing, can someone please show what
 I
 am doing wrong?


>>> Please send us output from commands:
>>>
>>> $ ipa dnszone-show 41.100.10.in-addr-arpa.
>>> $ ipa dnsrecord-find 41.100.10.in-addr-arpa. 250
>>>
>>> Thank you.
>>>
>>> --
>>> Petr^2 Spacek
>>>
>>>
>>
>>
>>
>>
>> ___
>> Freeipa-users mailing list
>> Freeipa-users@redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-users
>>
>>
>
> --
> Petr Vobornik
>



-- 
Brent S. Clark
NOC Engineer

2580 55th St.  |  Boulder, Colorado 80301
www.tendrilinc.com  |  blog 


 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender.
Please note that any views or opinions presented in this email are solely those 
of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the 
presence of viruses.
The company accepts no liability for any damage caused by any virus transmitted 
by this email.
___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Re: [Freeipa-users] cannot delete PTR DNS records from the command line

2014-02-13 Thread Petr Vobornik

Hello,

The zone name is:
41.100.10.in-addr.arpa.
Not:
41.100.10.in-addr-arpa.

HTH

On 13.2.2014 16:40, Brent Clark wrote:

Here are the results of the commands asked for. Also attached is a png of
the webui showing the zone and record exists that I want to delete.

Many Thanks!


ipa dnsrecord-find 41.100.10.in-addr-arpa. 250

Number of entries returned 0


ipa dnszone-show 41.100.10.in-addr-arpa.
ipa: ERROR: 41.100.10.in-addr-arpa.: DNS zone not found

host 10.100.41.250
250.41.100.10.in-addr.arpa domain name pointer test1.test.com.




On Thu, Feb 13, 2014 at 8:23 AM, Petr Spacek  wrote:


On 13.2.2014 16:15, Brent Clark wrote:


I have run into a problem where I cannot delete PTR DNS records from the
command line. This is something that until recently I have never
attempted.

IPA version = ipa-server-2.2.0-17.el6_3.1.x86_64

When I try to delete a PTR record I get this message.
ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1
ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified

ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1.test.com
ipa: ERROR: 250: DNS resource record not found

ipa dnsrecord-del 41.100.10.in-addr-arpa. test1.test.com. --ptr-rec 250
ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified

Its got to be a simple thing I am missing, can someone please show what I
am doing wrong?



Please send us output from commands:

$ ipa dnszone-show 41.100.10.in-addr-arpa.
$ ipa dnsrecord-find 41.100.10.in-addr-arpa. 250

Thank you.

--
Petr^2 Spacek







___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users




--
Petr Vobornik

___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users


Re: [Freeipa-users] cannot delete PTR DNS records from the command line

2014-02-13 Thread Brent Clark
Here are the results of the commands asked for. Also attached is a png of
the webui showing the zone and record exists that I want to delete.

Many Thanks!


ipa dnsrecord-find 41.100.10.in-addr-arpa. 250

Number of entries returned 0


ipa dnszone-show 41.100.10.in-addr-arpa.
ipa: ERROR: 41.100.10.in-addr-arpa.: DNS zone not found

host 10.100.41.250
250.41.100.10.in-addr.arpa domain name pointer test1.test.com.




On Thu, Feb 13, 2014 at 8:23 AM, Petr Spacek  wrote:

> On 13.2.2014 16:15, Brent Clark wrote:
>
>> I have run into a problem where I cannot delete PTR DNS records from the
>> command line. This is something that until recently I have never
>> attempted.
>>
>> IPA version = ipa-server-2.2.0-17.el6_3.1.x86_64
>>
>> When I try to delete a PTR record I get this message.
>> ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1
>> ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified
>>
>> ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1.test.com
>> ipa: ERROR: 250: DNS resource record not found
>>
>> ipa dnsrecord-del 41.100.10.in-addr-arpa. test1.test.com. --ptr-rec 250
>> ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified
>>
>> Its got to be a simple thing I am missing, can someone please show what I
>> am doing wrong?
>>
>
> Please send us output from commands:
>
> $ ipa dnszone-show 41.100.10.in-addr-arpa.
> $ ipa dnsrecord-find 41.100.10.in-addr-arpa. 250
>
> Thank you.
>
> --
> Petr^2 Spacek
>



-- 
Brent S. Clark
NOC Engineer

2580 55th St.  |  Boulder, Colorado 80301
www.tendrilinc.com  |  blog 


 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender.
Please note that any views or opinions presented in this email are solely those 
of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the 
presence of viruses.
The company accepts no liability for any damage caused by any virus transmitted 
by this email.
<>___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Re: [Freeipa-users] cannot delete PTR DNS records from the command line

2014-02-13 Thread Petr Spacek

On 13.2.2014 16:15, Brent Clark wrote:

I have run into a problem where I cannot delete PTR DNS records from the
command line. This is something that until recently I have never attempted.

IPA version = ipa-server-2.2.0-17.el6_3.1.x86_64

When I try to delete a PTR record I get this message.
ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1
ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified

ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1.test.com
ipa: ERROR: 250: DNS resource record not found

ipa dnsrecord-del 41.100.10.in-addr-arpa. test1.test.com. --ptr-rec 250
ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified

Its got to be a simple thing I am missing, can someone please show what I
am doing wrong?


Please send us output from commands:

$ ipa dnszone-show 41.100.10.in-addr-arpa.
$ ipa dnsrecord-find 41.100.10.in-addr-arpa. 250

Thank you.

--
Petr^2 Spacek

___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users


Re: [Freeipa-users] cannot delete PTR DNS records from the command line

2014-02-13 Thread Martin Kosek
On 02/13/2014 04:15 PM, Brent Clark wrote:
> I have run into a problem where I cannot delete PTR DNS records from the
> command line. This is something that until recently I have never attempted.
> 
> IPA version = ipa-server-2.2.0-17.el6_3.1.x86_64
> 
> When I try to delete a PTR record I get this message.
> ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1
> ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified
> 
> ipa dnsrecord-del 41.100.10.in-addr-arpa. 250 --ptr-rec test1.test.com
> ipa: ERROR: 250: DNS resource record not found
> 
> ipa dnsrecord-del 41.100.10.in-addr-arpa. test1.test.com. --ptr-rec 250
> ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified
> 
> Its got to be a simple thing I am missing, can someone please show what I
> am doing wrong?
> 
> Thanks!

Unqualified PTR records do not make sense, this is why we validate them on
addition. What does following command show?

$ ipa dnsrecord-show 41.100.10.in-addr-arpa. 250

Is the record really resolvable?

$ host 10.100.41.250

Martin

___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users