Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Changing servers with same DNS IP Address value
@ 2023-10-24  5:25 Pankaj Jangid
  2023-10-24  5:57 ` Adam Sjøgren
  0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Jangid @ 2023-10-24  5:25 UTC (permalink / raw)
  To: info-gnus-english

I recently went through the node "(gnus) Changing Servers". However, I
didn't find specific details regarding the scenario where a changed
server resolves to the same IP address as the previous one. I currently
have the following configuration in my "~/.gnus.el":

#+begin_src elisp
 '(gnus-secondary-select-methods
   '(
     (nntp "news.gwene.org")	; Gmane
     (nnml "")		; /var/spool/mail

 ;;... skip ...
 
 ;; Behaviour with various newsrc files
 '(gnus-save-newsrc-file nil)
 '(gnus-read-newsrc-file nil)
 '(gnus-always-read-dribble-file nil)
 '(gnus-save-killed-list nil)
 '(gnus-check-new-newsgroups nil)
#+end_src

If I update the server to "news.gmane.io", will I need to modify all the
entries in the "~/.newsrc.eld" file?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Changing servers with same DNS IP Address value
  2023-10-24  5:25 Changing servers with same DNS IP Address value Pankaj Jangid
@ 2023-10-24  5:57 ` Adam Sjøgren
  2023-10-24 10:40   ` Pankaj Jangid
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Sjøgren @ 2023-10-24  5:57 UTC (permalink / raw)
  To: info-gnus-english

Pankaj writes:

>  '(gnus-secondary-select-methods
>    '(
>      (nntp "news.gwene.org")	; Gmane
>      (nnml "")		; /var/spool/mail
>
> If I update the server to "news.gmane.io", will I need to modify all the
> entries in the "~/.newsrc.eld" file?

You can set the nntp-address, avoiding it defaulting to your
configuration's server name.

Eg I have:

  (nntp "gm"
        (nntp-address "news.gmane.io"))
  (nntp "fb"
        (nntp-address "feedbase.org"))

So you can go:

  (nntp "news.gwene.org"
        (nntp-address "news.gmane.io"))

and keep your entries the same, while connecting to news.gmane.io
instead.


  Best regards,

    Adam

-- 
 "Not The Same"                                             Adam Sjøgren
                                                       asjo@koldfront.dk



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Changing servers with same DNS IP Address value
  2023-10-24  5:57 ` Adam Sjøgren
@ 2023-10-24 10:40   ` Pankaj Jangid
  2023-10-24 16:58     ` Adam Sjøgren
  0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Jangid @ 2023-10-24 10:40 UTC (permalink / raw)
  To: info-gnus-english

Adam Sjøgren <asjo@koldfront.dk> writes:

> Pankaj writes:
>
>>  '(gnus-secondary-select-methods
>>    '(
>>      (nntp "news.gwene.org")	; Gmane
>>      (nnml "")		; /var/spool/mail
>>
>> If I update the server to "news.gmane.io", will I need to modify all the
>> entries in the "~/.newsrc.eld" file?
>
> You can set the nntp-address, avoiding it defaulting to your
> configuration's server name.
>
> Eg I have:
>
>   (nntp "gm"
>         (nntp-address "news.gmane.io"))
>   (nntp "fb"
>         (nntp-address "feedbase.org"))
>
> So you can go:
>
>   (nntp "news.gwene.org"
>         (nntp-address "news.gmane.io"))
>
> and keep your entries the same, while connecting to news.gmane.io
> instead.
>
>
>   Best regards,
>
>     Adam

Thanks, Adam.

I wasn't aware of "nntp-address", although I've been using
"nnimap-address" in a similar context.

My goal is to retain the name "gmane" for historical consistency,
regardless of the actual address used. Your suggestion aligns with
that. I've since updated my configuration to:

  (nntp "gmane"
        (nntp-address "news.gmane.io"))

Additionally, I've made updates to the ~/.newsrc.eld file, replacing
"news.gwene.org" with "gmane". Everything seems to be running smoothly
so far, and I've made sure to keep a backup, just in case.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Changing servers with same DNS IP Address value
  2023-10-24 10:40   ` Pankaj Jangid
@ 2023-10-24 16:58     ` Adam Sjøgren
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Sjøgren @ 2023-10-24 16:58 UTC (permalink / raw)
  To: info-gnus-english

Pankaj writes:

>   (nntp "gmane"
>         (nntp-address "news.gmane.io"))
>
> Additionally, I've made updates to the ~/.newsrc.eld file, replacing
> "news.gwene.org" with "gmane". Everything seems to be running smoothly
> so far, and I've made sure to keep a backup, just in case.

Great! Yeah, a backup is never a bad idea :-)


  Best regards,

    Adam

-- 
 "I'm sure there are people out there who has               Adam Sjøgren
  reiserfs working on their machines, and has never    asjo@koldfront.dk
  seen any problems. You can find similar opinions on
  Windows 95."



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-24 16:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-24  5:25 Changing servers with same DNS IP Address value Pankaj Jangid
2023-10-24  5:57 ` Adam Sjøgren
2023-10-24 10:40   ` Pankaj Jangid
2023-10-24 16:58     ` Adam Sjøgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).